Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-08-2012, 07:04 PM
macropod's Avatar
macropod macropod is offline Print Document (no markups) Windows 7 64bit Print Document (no markups) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
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 Stanza_chad,

Your macro should simply print the document without invoking the Print dialogue. It also has no effect on that dialogue.

Ordinarily, if you print a document containing comments, you'll get a warning. The following modifications will suppress that warning:
Code:
Sub PrintDoc()
Dim bOption As Boolean
bOption = Options.WarnBeforeSavingPrintingSendingMarkup
Options.WarnBeforeSavingPrintingSendingMarkup = False
Application.PrintOut Range:=wdPrintAllDocument, _
  Item:=wdPrintDocumentContent, Copies:=1
Options.WarnBeforeSavingPrintingSendingMarkup = bOption
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Document (no markups) Print document except first page nkg Word VBA 5 05-05-2012 03:57 AM
Print Document (no markups) Mutliple copies 167 print as one document John-N Mail Merge 5 02-19-2012 07:15 PM
Save and send markups ceocast Word 1 12-09-2010 10:39 AM
How can I print out the document as follow? turbomen Project 1 05-23-2010 07:24 AM
When I print the document changes layout cooney Word 0 03-01-2010 12:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft