A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Instantiate Internet Explorer in Outlook VBA



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 16th 08, 02:54 PM posted to microsoft.public.outlook.program_vba
Pierre Scerri
external usenet poster
 
Posts: 23
Default Instantiate Internet Explorer in Outlook VBA

The following code works well with Outlook 2003 in Windows XP and Vista:

Set Iexplr = New InternetExplorer
With Iexplr
.Visible = False ' Hide the browser
.Navigate URL:="http://anywebsite.com/" ' go to the website

Do While .Busy: DoEvents: Loop ' Wait for the page to load
etc...

With Outlook 2007 and Vista, the .Visible command has no effect. The
..Navigate command opens a visible Internet Explorer, goes to the appropriate
website and makes the 'Iexplr' variable null. The .Busy command then fails
with Runtime error 462 and execution stops.

Any suggestions would be most helpful. Thank you.
 




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Outlook Express 7 but not Internet Explorer 7 Nathan Sokalski Outlook - General Queries 3 October 27th 06 02:24 PM
Using Internet Explorer within Outlook 2003. Ricardough Outlook - Installation 1 August 15th 06 09:54 AM
need help-is it Outlook or Internet Explorer problem?? paula Outlook - General Queries 6 August 13th 06 09:37 PM
Email hyperlinks open Windows Explorer, not Internet Explorer M Skabialka Outlook - General Queries 2 July 7th 06 09:39 PM
Internet Explorer/Outlook Express 6.0 deacon Outlook Express 10 May 30th 06 09:35 PM


All times are GMT +1. The time now is 03:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.