A similar issue has been discussed here. I tried their resolution, but it gives the same result.
This file is downloaded from a third-party website so Excel automatically opens it in a protected view. Changing the default settings for this isn’t an option as this is a work server. Any other opinions are greatly appreciated!
Are you saving the Excel file first? If not, your Excel scope might be creating a new empty file in the project folder because your filepath is only the filename. If you open it from the download, then the path is in a different location.