WdExportCreateBookmarks Enumeration

Word Developer Reference

Specifies what bookmarks to include when exporting a document.

Version Information
 Version Added:  

Name Value Description
wdExportCreateHeadingBookmarks 1 Create a bookmark in the exported document for each Microsoft Office Word heading, which includes only headings within the main document and text boxes not within headers, footers, endnotes, footnotes, or comments.
wdExportCreateNoBookmarks 0 Do not create bookmarks in the exported document.
wdExportCreateWordBookmarks 2 Create a bookmark in the exported document for each Word bookmark, which includes all bookmarks except those contained within headers and footers.

Remarks

Use with the ExportAsFixedFormat method for the Document, Range, or Selection object.