IE Explore Pop Up window

  • Hi,


    I have a code which open Internet explore and logging into the system of my vendor.
    Problem is that when ever macro clicks on Submit button it will pop up a window asking for OK or Cancel.


    Can any one help me on how to accept OK button automatically?


    Thanks in advance.


    Regards,
    Qaiyum Shaikh

  • Re: IE Explore Pop Up window


    You can use this line of code to have VBA use the default setting of the Display. Make sure you turn on the display alerts after you have run your code.


    Code
    Application.DisplayAlerts = False
    
    
    
    
     Application.DisplayAlerts = True


    You would put your code between the two statements to click the submit button. The True statement turns on the display alerts.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!