Code: Select all
If ActiveDocument.ProtectionType = wdAllowOnlyFormFields Then
ActiveDocument.Unprotect ""
End If
ActiveDocument.PrintPreview
Application.PrintPreview = True
Code: Select all
If ActiveDocument.ProtectionType = wdAllowOnlyFormFields Then
ActiveDocument.Unprotect ""
End If
ActiveDocument.PrintPreview
Code: Select all
<button id="customButton9" label="Print Preview" size="large" onAction="OpenPrintPreview" image="blue" />
Code: Select all
<control idMso="PrintPreview" size="large" />
Code: Select all
<control idMso="FilePrintPreview" size="large" label="Print Preview" />