![]() |
|
#1
|
||||
|
||||
![]()
Use instead the following. You will have to supply the name and path (here - strDocName).
Code:
ActiveDocument.ExportAsFixedFormat OutputFilename:=strDocName, _ ExportFormat:=wdExportFormatPDF, _ OpenAfterExport:=False, _ OptimizeFor:=wdExportOptimizeForPrint, _ Range:=wdExportAllDocument, From:=1, to:=1, _ Item:=wdExportDocumentContent, _ IncludeDocProps:=True, _ KeepIRM:=True, _ CreateBookmarks:=wdExportCreateHeadingBookmarks, _ DocStructureTags:=True, _ BitmapMissingFonts:=True, _ UseISO19005_1:=False
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#2
|
|||
|
|||
![]() Quote:
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bookmarks | Schildkröte | Word VBA | 8 | 06-28-2015 11:13 AM |
![]() |
PeterPlys | Word VBA | 13 | 01-14-2015 06:41 AM |
Can't See Bookmarks | bobmayo | Word | 21 | 06-04-2013 07:37 AM |
![]() |
samanthab | Word | 3 | 01-19-2013 06:27 AM |
![]() |
Dom37 | Word VBA | 2 | 10-31-2011 03:28 AM |