cwalner
Philosopher
- Joined
- Aug 11, 2008
- Messages
- 6,104
Hey All,
I am hoping there is somebody on this forum experienced enough with VBA (Access) to help me.
What I am trying to do is this:
Write VBA code so that I can press a button in access that will access a web site, press on a link that generates an Excel file, and then save that file to a specific location (which the database already has set up to import as a linked table).
I can currently access the website and press the button for the link, but then I encounter a problem.
The link opens up a dialog box that offers to Open (O), Save (S) or Cancel (C). I want to use the VBA code to simulating chosing Save (S) then entering the path and file name to save the file to a specific location.
I am using Office 2007, and the access database is 2007, but I wish to save the files as Excel 2003 (.xls rather than .xlsx)
Any tips that you can offer would be greatly appreciated.
I am hoping there is somebody on this forum experienced enough with VBA (Access) to help me.
What I am trying to do is this:
Write VBA code so that I can press a button in access that will access a web site, press on a link that generates an Excel file, and then save that file to a specific location (which the database already has set up to import as a linked table).
I can currently access the website and press the button for the link, but then I encounter a problem.
The link opens up a dialog box that offers to Open (O), Save (S) or Cancel (C). I want to use the VBA code to simulating chosing Save (S) then entering the path and file name to save the file to a specific location.
I am using Office 2007, and the access database is 2007, but I wish to save the files as Excel 2003 (.xls rather than .xlsx)
Any tips that you can offer would be greatly appreciated.