Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 17th, 2005, 05:48 AM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default pulling html from a web site into a string variabl

Hi -

I am trying to load a web page into a string variable so I can parse it, following the example on page 422 of Excel 2002 VBA Programmers Reference by Bullen et. al.

The authors say I need to install a reference to "Micosoft Internet Controls Object Library" but I can't find that via searching the Microsoft site. Perhaps this has been superceded by a newer method? Can anyone please tell me where I can get this and how to install it, or point me towards its replacement? I need to acquire the web page into a string variable rather than download it to a table in the spreadsheet, since I'm trying to write a function rather than a procedure.

Thanks for any help.

regards,
David

 
Old December 19th, 2005, 10:15 AM
Authorized User
 
Join Date: Oct 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered
Default

hmm, wondering if your a little confused here...
The Microsoft Internet Controls should be in your refernces list by default (shdocvw.dll) - just click on tools in the VBA editor, select references and then scroll down till you see it amongst the microsoft entries..

If your missing it entirely thats a different matter and can be resolved by reinstalling internet explorer 6

 
Old December 19th, 2005, 04:24 PM
Registered User
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. That did the trick. Sometimes it's so simple...:)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove orphaned html elements from html string pauliehaha C# 2008 aka C# 3.0 2 June 30th, 2008 09:40 AM
Difference between web application and web site manojm39 ASP.NET 2.0 Basics 2 August 10th, 2007 09:06 AM
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
how to clear session variabl when browse is closed chayanvinayak Beginning PHP 3 May 22nd, 2006 04:59 AM
Developing a web site not a web application mkerchenski ASP.NET 1.0 and 1.1 Basics 8 May 25th, 2004 09:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.