Ok, I'm trying to access data stored on a web page that's in a correct format. I want to be able to open an Excel Spreadsheet and have it automatically access that web page.
Any tips?
Thanks
Eric M. Boyd
Call Center Supv. III
Washington Mutual Bank
the easiest way to get the result you're after is to record a macro in the workbook and call it Autpen(). Run your web query, you'll have to repeat it for the second table. This macro will then run everytime you open the workbook.
Press Alt+F11 to open the VBA editor, the code should be sitting in module1. Edit the code so it all fits in the one sub routine.
I've pasted the code generated by the record macro below:
Sub Autpen()
'
' Autpen Macro
' Macro recorded 02/05/2003 by Digga
'
'
With ActiveSheet.QueryTables.Add(Connection:="URL;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.