please do this before opening excel using Uipath
You can add a combination shortcut key to a macro when you record it, and you can also add one to an existing macro:
- On the Developer tab, in the Code group, click Macros.
In the Macro name box, click the macro that you want to assign to a combination shortcut key.
- Click Options.
The Macro Options dialog box appears.
- In the Shortcut key box, type any lowercase or uppercase letter that you want to use with the shortcut key.
For Windows, the shortcut key for lowercase letters is Ctrl+letter. For uppercase letters, it’s Ctrl+Shift+Letter.
Be careful assigning shortcut keys, because they will override any equivalent default Excel shortcut key while the workbook that contains the macro is open. For example, if you assign a macro to Ctrl+z, you’ll lose the ability to Undo. Because of this, it’s generally a good idea to use Ctrl+Shift+Uppercase letter instead, like Ctrl+Shift+Z, which doesn’t have an equivalent shortcut in Excel.
Assign the short cut hot key for your macro, and then send hot key after opening excel using UiPath.
this was manual process