+ Reply to Thread
Results 1 to 4 of 4

Need to suppress MsgBoxes

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Dallas
    Posts
    67

    Need to suppress MsgBoxes

    I am sending information from an Excel worksheet to a website and bringing the results back into Excel. Once in a while a custom Message box will pop up requesting a vbOk or vbNo response. How can I suppress the msg box or press ok using code? It is not a system alert box it is a user created msg box. Thanks for any help.....

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Need to suppress MsgBoxes

    Hello bconner,

    If you don't need these dialogs, why not simplely remove them from the code?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    11-18-2008
    Location
    Dallas
    Posts
    67

    Re: Need to suppress MsgBoxes

    Leith,

    This pop up box is not in my code but pops up when excel is accessing a website. I am running what is called a screen scrape where my excel worksheet is plugging information into Aetna Healthcares website occasionaly the Aetna website will pop up a msg box with a message asking for an Ok or No response. Since I want to be able to run this screen scrape without monitoring it I would like for vba to either suppress the box or press the OK button so the macro will continue running.

  4. #4
    Registered User
    Join Date
    11-18-2008
    Location
    Dallas
    Posts
    67

    Re: Need to suppress MsgBoxes

    Below is the url for the crosspost I made.....
    http://www.vbaexpress.com/forum/forumdisplay.php?f=17

+ 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