I have a file_name.iqy file which I am trying to open automatically within Excel 2016.
The contents of the file are this:
WEB
1
https://link goes here
Selection=3
Formatting=Rich Text
DisableRedirections=False
I want to add my credentials into this file so I can stop being prompted for them within the script that I am running (I am trying to automate logging into this site and grabbing the data which is downloaded as an .iqy file). Can anyone provide any assistance? Lastly, I have no reason to believe that link in the file is static for each download.
Ive tried this method http://username:password@example.com/ in the url. But it didnt work. Ive also tried using SendKeys from within Excel and the result in VBA is hanging at the part for credential entering.