Bruj
asked on
How to get a webpage data without navigating to it. VBA
I came across a technique a few years back that allowed me to grab data from a webpage without navigating to that page. I was actually very simple, but I forgot how to did it.
I believe it was just the Excel internet or html libraries, but it may have been one of windows APIs.
I "think" it was something like a "get" command.
I have about 4000 pages I need to verify nightly and would really like to speed things up.
I did this in Widows 7 and probably IE9. I currently run Win 10 with Edge. Have not done much webstuff with Edge.
Thanks!
Bruce
I believe it was just the Excel internet or html libraries, but it may have been one of windows APIs.
I "think" it was something like a "get" command.
I have about 4000 pages I need to verify nightly and would really like to speed things up.
I did this in Widows 7 and probably IE9. I currently run Win 10 with Edge. Have not done much webstuff with Edge.
Thanks!
Bruce
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're most welcome Bruce. As the saying goes, "there's more than one way to skin a cat". I only elected to use WinHTTP out of familiarity. Best of luck!
ASKER
Now I just need to re-write my parsing functions!
I am really surprised this method is not used more! It is so much cleaner, faster and easier!
I was really floored when I came across it the first time, and was using it on alot of code (but that was a few years back!)
I just have not don't that type of web automation for a long time.
Very complete and was there right at the right time (think it was less than 15 min!)
Cheers!
Bruce