WdExportRange Enumeration (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show: