Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Jul 2006
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Alert Messages \ Warnings (All)

    In MS Access there is the ability to turn the warnings off in a code module by using the line

    DoCmd.SetWarnings(False)

    Is there an equivlent in Excel??? - I can't seem to find one

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Alert Messages \ Warnings (All)

    Application.DisplayAlerts = False
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Alert Messages \ Warnings (All)

    Just for your information, the code provided by Pieterse

    Application.DisplayAlerts = False

    also works in Word VBA and PowerPoint VBA. And of course, its counterpart is

    Application.DisplayAlerts = True

    to display the built-in warnings again.

  4. #4
    Lounger
    Join Date
    Jul 2006
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Alert Messages \ Warnings (All)

    Thanks

Posting Permissions

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