Thread
:
Preventing Reoccuring Dialog Boxes
View Single Post
#
3
TricksOfMind
Posts: n/a
Just add " ActiveDocument.UndoClear " in your macro, eg :
ActiveDocument.Fields.Update
For Each myTOC In ActiveDocument.TablesOfContents
myTOC.Update
ActiveDocument.UndoClear
Next
Rgds.
"Howard Lee" a écrit dans le message de news:
...
During some operations, I get a pop up dialog box warning me that this or
that operation can't undone. Even though I don't care about the message at
the moment, the appearance of the dialog box halts the current operation.
This prevents me from walking away during long operations, such doing it
over lunch or overnight, because I have to keep hitting Yes or No.
Is there a way to suppress these dialogs?
Reply With Quote