+ Reply to Thread
Results 1 to 2 of 2

close IE even after user clicks links on original page

  1. #1
    Registered User
    Join Date
    10-21-2011
    Location
    baltimore,md
    MS-Off Ver
    Excel 2003
    Posts
    53

    close IE even after user clicks links on original page

    hi all

    i have the code to open IE based on a link put in cell A1. and to close it after a period of time. it is:

    HTML Code: 
    however, if the user clicks a link from the original link IE will not close.
    any ideas of how to close IE no matter what the page the user is on?

    thanks

    jebay

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: close IE even after user clicks links on original page

    "open IE based on a link put in cell A1"... but the code is looping through A1:A5. Do all those cells contain valid URLs?

    What is the On Error for? Which error are you trying to catch with it? Try commenting it out.

    Your code works for me, but it only closes the IE window outside the loop, after all 5 cells have been navigated to. I can click links in each URL web page without affecting the navigation done by the code.
    Post responsibly. Search for excelforum.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1