Results 1 to 3 of 3

Thread: Get rid of notifications (msgbox)

  1. #1

    Thread Starter
    Frenzied Member cssriraman's Avatar
    Join Date
    Jun 2005
    Posts
    1,465

    Get rid of notifications (msgbox)

    Hi all,

    I am using my client's macro to do some work on my word documents. After running the client's macro I used to run some sort of macros which I developed. Once the client macro is executed it will popup some sort of message like "Everything done.." etc. I just combined the client macro and mine. My problem here is once the client macro is executed it gives some sort of notification (to the user as usual) in a msg box. Then i have to press "ok", then my macro runs. I want to get rid of these notifications. I don't want any notifications untill the entire macro (the combined macro which includes the client and mine) completes the process.

    I do not have the source code of the client macro.

    Thanks in advance,

    CS.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Get rid of notifications (msgbox)

    I got this from this VBF thread.

    Try:
    VB Code:
    1. Application.DisplayAlerts = wdAlertsNone

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Get rid of notifications (msgbox)

    If the message is a standard message box shown by the macro, you can't stop it without modifying the original code.

Posting Permissions

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



Click Here to Expand Forum to Full Width