Dag
Graag had ik een volledige map van bestaande word-documenten(vb 100 documenten) opgeslagen als pdf documenten (100 pdf bestanden).
Zou dit mogelijk zijn via een macro?
VOor een actief document heb ik deze macro. Maar dan moet ik elk bestand apart openen.
Sub Opslaan_als_PDF()
'
' Opslaan als PDF Macro
'
ActiveDocument.ExportAsFixedFormat OutputFileName:= _
Replace(ActiveDocument.FullName, ".docx", ".pdf"), _
ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
wdExportOptimizeForPrint, Range:=wdExportAllDocument, Item:= _
wdExportDocumentContent, IncludeDocProps:=False, KeepIRM:=True, _
CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _
BitmapMissingFonts:=True, UseISO19005_1:=False
End Sub
Weet iemand raad?
Alvast bedankt
Anne
Graag had ik een volledige map van bestaande word-documenten(vb 100 documenten) opgeslagen als pdf documenten (100 pdf bestanden).
Zou dit mogelijk zijn via een macro?
VOor een actief document heb ik deze macro. Maar dan moet ik elk bestand apart openen.
Sub Opslaan_als_PDF()
'
' Opslaan als PDF Macro
'
ActiveDocument.ExportAsFixedFormat OutputFileName:= _
Replace(ActiveDocument.FullName, ".docx", ".pdf"), _
ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
wdExportOptimizeForPrint, Range:=wdExportAllDocument, Item:= _
wdExportDocumentContent, IncludeDocProps:=False, KeepIRM:=True, _
CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _
BitmapMissingFonts:=True, UseISO19005_1:=False
End Sub
Weet iemand raad?
Alvast bedankt
Anne