+ Reply to Thread
Results 1 to 2 of 2

Macro to capture MsgBox prompt to a string variable but ignore the MsgBox

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    Moristown, NJ USA
    MS-Off Ver
    Office 2013 (36)
    Posts
    1

    Macro to capture MsgBox prompt to a string variable but ignore the MsgBox

    Hello. I have a spreadsheet that automatically updates from a server when opened. In case a message box appears during the update (e.g. warning that data has changed etc.) I am looking for VBA commands that will pass over the message box but save its warning as some kind of log file. Thank you !

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Macro to capture MsgBox prompt to a string variable but ignore the MsgBox

    I think worksheet change event is running in the background.

    In the beginning of the code turn off the events and turn it off in the end.

    Msgbox is a modal type of thing which wont allow any other code to run until unless it receives a manual input from user.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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. Calling macro and ignore vbYesNo msgbox
    By exceere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-25-2014, 11:04 PM
  2. Msgbox prompt on save
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-09-2009, 03:48 PM
  3. Prompt early log out time using msgbox
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-21-2009, 07:42 AM
  4. Entering variables on Msgbox prompt
    By renegan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2006, 02:54 PM
  5. [SOLVED] Msgbox prompt and tabbing
    By Neal Zimm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2005, 05:19 PM

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