Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Raf_
168 Views, 1 Reply

VBA and Print Excluded Sheets

Hi 

 

Is it possible to Triger tick box 'Print Excluded Sheets" from VBA ?

 

screenshot_43.png

 

 

WCrihfield
in reply to: Raf_

Hi @Raf_.  Yes, I believe so.  I haven't tried it myself, because I never needed to, but there is a boolean type Property called "PrintExcludedSheets" under the DrawingPrintManager object, which is obtained from a DrawingDocument.PrintManager property.  You may have to pre-define the variable's Type as a DrawingPrintManager though, because a regular PrintManager object is what is used in model documents, and has less methods/properties.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)