Results 1 to 2 of 2

Thread: Ms Word Macro to suppress warnings

  1. #1
    Join Date
    Oct 2010
    Posts
    1

    Ms Word Macro to suppress warnings

    My name is Ziv. I am trying to write a simple VB macro for Word, for command-line printing. I want Word to open without an error message-box, no matter what.
    I wrote:
    Application.DisplayAlerts = wdAlertsNone

    But I still get pop-up windows for:
    - The document 'temp.doc' caused a serious error the last time it was opened. Would you like to continue opening it?

    - Word failed to start correctly last time. Starting Word in safe mode will=
    help you correct ...

    How can I make sure no warning or errors will be displayed when Word starts?

  2. #2
    Join Date
    Nov 2008
    Posts
    1,192

    Re: Ms Word Macro to suppress warnings

    I know that it’s too late for the reply but I am posting this so that it will be helpful to other users solving this issue. I think the MS office which is installed in your computer is corrupted and for that reason you are facing this problem. If you want to confirm that then just uninstall the existing MS office from your computer and after that install it over again to see if that resolves the problem that you are facing. Other than this, you can refer this link and see if that resolves the issue.

Similar Threads

  1. Word Macro Won't Run
    By IanGreen in forum Windows Software
    Replies: 1
    Last Post: 24-02-2012, 03:34 AM
  2. VB Script To Run Macro from Word
    By jymoo in forum Software Development
    Replies: 3
    Last Post: 05-12-2011, 10:58 AM
  3. PHP suppress warnings
    By HAKAN in forum Software Development
    Replies: 3
    Last Post: 19-06-2009, 12:05 PM
  4. Macro for hyperlink on Word/Excel
    By Mindstorm in forum Windows Software
    Replies: 3
    Last Post: 07-05-2009, 03:13 PM

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
  •  
Page generated in 1,727,424,794.56810 seconds with 17 queries