I have a problem, when get refresh data query in excel file with macro. Robot is successfully to run this project but this Excel Data not updated (Macro for refresh VBA in excel not working).
there are the syntax of macro / vba :
Sub macro1()
ActiveWorkbook.RefreshAll
End Sub
But when i try to run this macro by manual (not from robot) this is successfully
Can you please check if access is given in the excel to run the macro in the Robot Machine?
Head to excel, on Home page click on Options:
Click on Trust Center
Click on Trust Center Settings
Click on Macro Settings and enable these two.