Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export only current sheet to .pdf

Status
Not open for further replies.
Look for the "For Each sheet in dwgs" line; comment it out and the corresponding "Next". Add a variable named sheet that refers to the current drawing sheet. Keep the rest of the code.

Code:
'For Each sheet in dwgs
Dim sheet As Drawings.DrawingSheet = workPart.DrawingSheets.CurrentDrawingSheet
.
.
.
'Next

Also, you may be interested in the code found here:

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top