Advertisement
Guest User

Untitled

a guest
Jul 18th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub Print_ShowNoWarning()
  2. '
  3. ' Print_ShowNoWarning Macro
  4. '
  5. '
  6.    With Application
  7.         'Turn off DisplayAlerts
  8.        .DisplayAlerts = wdAlertsNone
  9.         'Print document
  10.        'Background print must be turned off to prevent message
  11.        .PrintOut Background:=False
  12.         'Turn on DisplayAlerts again
  13.        .DisplayAlerts = wdAlertsAll
  14.     End With
  15. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement