Hi all,
How can I maximise the excel workbook in UiPath studiox before continuing with actions?
My downloaded excel workbooks are so minimised that the actions cannot be performed.
Looking forward to replies.
Thank you!
Hi all,
How can I maximise the excel workbook in UiPath studiox before continuing with actions?
My downloaded excel workbooks are so minimised that the actions cannot be performed.
Looking forward to replies.
Thank you!
Hi @chk
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
Check out the thread
Regards
Gokul
Hi @chk
On opening excel, execute the following macro to maximise the excel window:
Sub MaximizeExcelWindow()
Application.WindowState = xlMaximized
End Sub
Hope this helps,
Best Regards.
May I know what actions you want to perform?
Generally for excels we have dedicated activities…please check
https://docs.uipath.com/activities/other/latest/user-guide/about-the-excel-activities-pack
cheers
Hi all, I just realised there is a an option to resize window to be maximise under properties. Will try it and let all know.
Hi @arjunshenoy, how to run the macro on a new downloaded workbook? Or does the macro needs to exist already in a a workbook / excel file?
Thanks
By this way, you can use the same macro for n number of times in your process.
Note: In order for this activity to work, Trust Access to the VBA project object model must be enabled from Excel (File > Options > Trust Center > Trust Center Settings > Macro Settings > Select the Trust Access to the VBA project object model check box).
Hope this helps,
Best Regards.
Thanks will try this out in future!
This option works perfectly. Thanks all for the discussion!