Hi
@KodiSrihariI would suggest not using surface automation for excel and instead using direct interaction using the excel out the box functionality in blue prism. In this case if you want to initiate a macro then you can use the MS Excel - Extended VBO and use the action Run Macro. You just need to then give the handle and the macro name the button is initiating and your bot can run it without using the button in excel. Alternatively if you are familiar with macros you could review the code and build your bot to do the same actions as the macro is doing.
------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------