I’m trying to launch an Excel document, Refresh All to update links, and then extract the data in the worksheet.
Whenever it launches, the Excel icon just blinks in the toolbar, and Excel does not come to the foreground (even though Visible is checked). I tried to get around this by just using hotkeys to refresh the data, and specifying the target as the Excel file. However, the Send Hotkey activity fails with a ‘Timeout Reached’ error. I’ve played with the selector, and it is definitely valid even with Excel in the background.
What is a reliable way to bring the app into the foreground? I’ve seen this question so many times and nothing I have tried works (Attach Window, Maximize Window, Activate Window).