You can use UiPath’s “Attach Window” activity to select the selector of the Excel file that you have opened and then use the “Maximize Window” activity inside the “Attach Window” activity
Check out this thread
You can also use UiPath’s “Get Active Window” activity to bring the window front