After i clicked on the button and save the file, I run the activity to read range, it works now.
Any ways that I can fix the problem? To let the bot to deal with the protected view issue? Where I can directly download the excel file, then read and export data out.
This error happened when the size of your Excel file is 0. When you create a Excel document, the document is empty, and at this time, if you open it with Open XML sdk, you will get this error.
Try to solve it by inserting a delay between download and reading activity