I have a question regarding Excel automation. In StudioX, Excel “Refresh Excel Data Connections” activity requires workbook path. This workbook path is in data type IWorkbookQuickHandle. I didn’t find any explanation about how to use this particular data type in UIPath Docs nor this Forum.
You have to use this activity Refresh Excel Data Connections inside Use excel File Activity this activity available under Modern activities and you have to assign the excel reference handle as input for the Refresh excel data connection activity . Please refer the below screenshots. thanks.
I’ve tried and I found that it won’t refresh even when I set “Show Excel Window” to true. It refresh only when the excel file is opened . Is that how this activity work?