Thread: [Solved] Removing password protection
View Single Post
 
Old 03-06-2012, 09:07 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi,

That warning is part of how you have Word configured. It can be disabled temporarily, with the following code mods.

Starting with the end of the 'Dim' line, add the following:
Code:
, TrkStatus As Boolean
TrkStatus = Options.WarnBeforeSavingPrintingSendingMarkup
Options.WarnBeforeSavingPrintingSendingMarkup = False
then insert:
Code:
Options.WarnBeforeSavingPrintingSendingMarkup = TrkStatus
before:
Code:
Application.ScreenUpdating = True
This retains the current state of the documents, without changing their content. Simply changing the display to 'final' won't deactivate the messsage.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote