+ Reply to Thread
Results 1 to 7 of 7

Disable all kinds of messages/warnings/alerts in Excel?

  1. #1
    Registered User
    Join Date
    09-03-2009
    Location
    Lahore,Pakistan
    MS-Off Ver
    Excel 2007/2003
    Posts
    8

    Unhappy Disable all kinds of messages/warnings/alerts in Excel?

    Hi
    I need to disable all kinds of messages that could appear in front of the user when it opens the workbook. I am already using DisplayAlerts=False and On Error Resume Next? Can we also do this through excel application itself and not using VBA ?
    Last edited by hraza; 12-05-2009 at 12:13 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Disable all kinds of messages/warnings/alerts in Excel?

    I have never seen it done, why would you want to do that?

  3. #3
    Registered User
    Join Date
    09-03-2009
    Location
    Lahore,Pakistan
    MS-Off Ver
    Excel 2007/2003
    Posts
    8

    Re: Disable all kinds of messages/warnings/alerts in Excel?

    Since that workbook will open on a client PC, it needs to log all the errors in a trace file and doesn't show anything to the user as an error !

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Disable all kinds of messages/warnings/alerts in Excel?

    Quote Originally Posted by hraza View Post
    Since that workbook will open on a client PC, it needs to log all the errors in a trace file and doesn't show anything to the user as an error !
    Oh I know what you are doing , it's just you can't tell excel not to display messages without VBA, like you asked.

    You have mentioned you are using displayAlerts=false, and onerror trapping, are you still getting msgs popping up?,or were you hoping there could be an Excel option not to enable error messages totally?

  5. #5
    Registered User
    Join Date
    09-03-2009
    Location
    Lahore,Pakistan
    MS-Off Ver
    Excel 2007/2003
    Posts
    8

    Re: Disable all kinds of messages/warnings/alerts in Excel?

    Yes the messages are still popping up. And yes is there any option to do it through Excel Application rather than vba. Either ways it is bothering me a lot right now !

  6. #6
    Registered User
    Join Date
    09-03-2009
    Location
    Lahore,Pakistan
    MS-Off Ver
    Excel 2007/2003
    Posts
    8

    Thumbs up Re: Disable all kinds of messages/warnings/alerts in Excel?

    Ok i have found whats wrong with it
    Actually the addin i was using for some data calculation in my workbook was overriding the displayAlerts, hence i had to disable the error message overriding through that addin and the problem solved


    CHEERS
    Thanks everybody in this thread !

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Disable all kinds of messages/warnings/alerts in Excel?

    There are some alerts that DisplayAlerts cannot override, i think basically it only works where a user response is required
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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