LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Web page loading

Jake:

Thanks again for your help.

Matt
-----Original Message-----
Hi Matt,

If you go to the VBE and select Tools | References, look

for Microsoft
Internet Controls and check the box next to it. That

will allow Excel to
use the necessary library for the code to work as written.

Late Binding refers to using the library without

referencing it in your VBA
project. To do this, you would have to declare ie As

Object, use
CreateObject to create an instance of the IE application,

and replace the
READYSTATE_COMPLETE constant with its actual value (4).

If you do all these
things, you don't need to set a reference to the library

to get your code to
work. Late Binding is a lot slower if you're making a

lot of calls to the
library, but in this case, you probably won't notice a

difference. Late
Binding is nice in that you don't have to worry about

whether the user will
have a different version of a library on his/her

machine. And you can trap
the runtime error generated by CreateObject if the

library doesn't exist on
the user's machine. With Early Binding (setting a

reference and declaring
As InternetExplorer), you cannot trap the error the user

will get if he/she
doesn't have the necessary library on the machine.

--
Regards,

Jake Marx
www.longhead.com




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
loading add ins [email protected] Excel Discussion (Misc queries) 0 October 30th 08 02:51 PM
Loading... K Excel Discussion (Misc queries) 1 October 7th 07 09:37 PM
loading mallahd Excel Discussion (Misc queries) 2 May 25th 07 07:59 PM
Loading a Different Page Robert Maddox Excel Discussion (Misc queries) 0 October 20th 06 07:16 PM
Add-ins not loading John F Excel Discussion (Misc queries) 2 February 17th 05 08:54 PM


All times are GMT +1. The time now is 12:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"