WdExportRange enumeration (Word)

Specifies how much of the document to export.

Name Value Description
wdExportAllDocument 0 Exports the entire document.
wdExportCurrentPage 2 Exports the current page.
wdExportFromTo 3 Exports the contents of a range using the starting and ending positions.
wdExportSelection 1 Exports the contents of the current selection.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.