How to click button on macro

Hi,

Based on your screenshot i understood that if we click that button some macro running on background and after that we have to click some other button. Both buttons are calling some macros in the excel. Can we try with the execute macro activity in UiPath instead of Ui automation and assign those macro names to that activity to perform the desired steps. Please refer the below documentation related to Execute Macro activity to guide you more on this. thanks.