VBA help from someone?
Aug. 31st, 2007 11:05 amI'm hoping that someone on my f-list may be able to help out with this.
There are some Excel spreadsheets on a password protected website that I need to download and save each week. I have a username and password but I will not be the person who has to run this procedure each week. I'm hoping that there is some way, using VBA, that I can open and save (or just extract without opening...) the spreadsheet as part of a macro.
I was using the Workbook.Open method a couple of days ago and passing in a password, which worked perfectly. However, this morning I've run the code without changing anything and it's downloading blank workbooks even though I have checked on the site and the workbooks are nicely populated.
I am assuming that something has been changed on the server that is preventing what was working on Wednesday.
Does anyone have any bright ideas or am I going to have to install an FTP program (like WGet) on my target users' computers in order to get this file? In which case, it's probably going to be easier to get them to log into the website manually and download because persuading IT to install software is almost entirely impossible. I want to make this thing as simple as possible! One button to rule it all is my mantra with this project.
Any help that anyone can give would be much appreciated.
I wish there were a VBA community on LJ *sigh*
There are some Excel spreadsheets on a password protected website that I need to download and save each week. I have a username and password but I will not be the person who has to run this procedure each week. I'm hoping that there is some way, using VBA, that I can open and save (or just extract without opening...) the spreadsheet as part of a macro.
I was using the Workbook.Open method a couple of days ago and passing in a password, which worked perfectly. However, this morning I've run the code without changing anything and it's downloading blank workbooks even though I have checked on the site and the workbooks are nicely populated.
I am assuming that something has been changed on the server that is preventing what was working on Wednesday.
Does anyone have any bright ideas or am I going to have to install an FTP program (like WGet) on my target users' computers in order to get this file? In which case, it's probably going to be easier to get them to log into the website manually and download because persuading IT to install software is almost entirely impossible. I want to make this thing as simple as possible! One button to rule it all is my mantra with this project.
Any help that anyone can give would be much appreciated.
I wish there were a VBA community on LJ *sigh*