+ Reply to Thread
Results 1 to 2 of 2

while loop to wait until user has closed InternetExplorer object

  1. #1
    Registered User
    Join Date
    02-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    while loop to wait until user has closed InternetExplorer object

    Hi All,

    I have written a Macro that performs a web query and copies the data.

    The problem I have is that the user has to log in to Internet Explorer first so that the password is cached. I have written a little routine but I do not know how to put the routine into a loop until the user has closed the Internet Explorer windows that I created.

    I know I could probably create my only dialog prompt and send the text the user enters to InternetExplorer but I don't want to do this.

    I want to start the IE object, wait for how ever long it takes the user to enter their username / password and then once they have closed IE, resume the Macro.

    I have searched but have not found a solution to this problem.

    Thanks in advance.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    02-22-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: while loop to wait until user has closed InternetExplorer object

    while (reply == 0) bump;

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Trying to get a loop to wait for a web page to load.
    By Habanero Time in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-09-2013, 01:46 AM
  2. IE.Navigate not working [IE is an object variable of type InternetExplorer]
    By arjun.majumdar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-05-2013, 04:51 AM
  3. vbs script that checks if excel is already running and wait for it to be closed
    By danitouffaha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2012, 03:49 PM
  4. wait/pause during loop
    By _Terry_ in forum Excel General
    Replies: 4
    Last Post: 07-04-2008, 03:22 PM
  5. Wait for user response
    By Brisbane Rob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2005, 05:31 PM

Tags for this Thread

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