Created
August 14, 2011 15:59
-
-
Save Hades32/1145013 to your computer and use it in GitHub Desktop.
Export (all) Visio pages as PDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub expCurrent() | |
Call Application.ActiveDocument.ExportAsFixedFormat(visFixedFormatPDF, ActiveDocument.Path & "\Images\" & Application.ActivePage.Name & ".pdf", visDocExIntentPrint, visPrintCurrentPage) | |
End Sub | |
Sub expAll() | |
Dim p As Page | |
For Each p In ActiveDocument.Pages | |
ActiveWindow.Page = p | |
Call expCurrent | |
Next p | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment