View Single Post
 
Old 05-30-2011, 11:54 AM
rvessio rvessio is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: May 2011
Posts: 2
rvessio is on a distinguished road
Default Macro to save as pdf with ability to choose save as folder

I was lucky enough to come across this macro on this forum to save as pdf but I need to alter a bit so that it allows the user to select the folder to save it in. Any ideas?

With ActiveDocument
.ExportAsFixedFormat OutputFileName:=Split(.FullName, ".")(0) & ".pdf", _
ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, _
OptimizeFor:=wdExportOptimizeForPrint, Range:=wdExportAllDocument, _
Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _
CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _
BitmapMissingFonts:=True, UseISO19005_1:=False
End With

Thanks!
Reply With Quote