Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 17th, 2005, 05:48 AM
Registered User
Join Date: Dec 2005
Location: , , .
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.


Reply With Quote
  #2 (permalink)  
Old December 19th, 2005, 10:15 AM
Authorized User
Join Date: Oct 2004
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered

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

Reply With Quote
  #3 (permalink)  
Old December 19th, 2005, 04:24 PM
Registered User
Join Date: Dec 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

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

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 06:16 PM.

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