Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-09-2012, 08:44 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,467
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

Quote:
Originally Posted by Stanza_chad View Post
An existing add-on calls the Print Dialogue whenever I print anything.
Do you mean to say that the Print Dialogue displays even when you run your PrintDoc macro? If so, nothing short of disabling your addin is likely to work. That said, you could try something like:
Code:
Sub Test()
Dim bOption As Boolean, bAddin As Boolean
With Application
  bAddin = .AddIns("Name").Installed
  bOption = .Options.WarnBeforeSavingPrintingSendingMarkup
  .AddIns("Name").Installed = False
  .Options.WarnBeforeSavingPrintingSendingMarkup = False
  With .Dialogs(wdDialogFilePrint)
    SendKeys "%W^{HOME}{ENTER}"
    .Show
  End With
  .Options.WarnBeforeSavingPrintingSendingMarkup = bOption
  .AddIns("Name").Installed = bAddin
End With
End Sub
Note: Where you see '.AddIns("Name")', you'll need to supply your addin's name.
__________________
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 04:07 AM.


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