LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Recognizing When An IE window changes URLs and closing the IE wind

I am running a script that does an automatic login for 100's of training
ID's. We have the script that opens the browser (uses followhyperlink) and
enters the user name and password using sendkeys. What I need to know how to
do is determine when the window has correctly opened and when it hasn't.
When it is correct, it goes to a very specific URL. Ideally, I would check
the URL after our Wait statement and determine if the URL is the correct one
and annotate on the spreadsheet error or complete. In either case, I need to
close the IE window after the check because the VBA blows up after 50 IE
windows. Right now I am using Excel 2003.

To Clarify:
How do I get the address of an open IE window using VBA?
How do I close an open IE window using VBA?
 
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
Closing a window after transferring data JHB Excel Discussion (Misc queries) 2 August 3rd 09 12:03 PM
Self closing "modal" window ? Michel S. Excel Programming 4 February 12th 07 05:20 PM
Can I insert a pop up window in Excel to ask a ? b/4 closing? Bernadette Excel Discussion (Misc queries) 2 May 9th 06 04:06 PM
Closing DOS window after shell command Garry Boswell Excel Programming 1 January 9th 04 10:32 PM
Closing a Window Chuck Taylor Excel Programming 1 October 30th 03 01:16 AM


All times are GMT +1. The time now is 10:12 PM.

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"