SHDocVw.InternetExplorer

  • Thread starter Thread starter Pslm1271
  • Start date Start date
P

Pslm1271

I've written several VBA macros in Excel to collect data from selec
websites daily, but would like to speed up the process. Currently,
just open each webpage as a workbook which can take a lot of tim
depending on the amount of graphics on the pages.

A book says it is possible to create hidden instances of IE, openin
script files and scanning for the information wanted. Yet VBA reject
the following line saying that "User-defined type not defined."

Dim oIE As SHDocVw.InternetExplorer

How and where do I find the correct object library and how do I instal
it? or is ther just something I am doing wrong? I have IE 6.0 an
scanned and found SHDocVw.dll.

Thanks
 
In VBA, go to the Tools menu, choose References, and scroll down
to Microsoft Internet Controls and put a check next to it.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top