Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Range.ExportFragment Method (Word)

Exports the selected range into a document for use as a document fragment.

Version Added: Word 2007

expression .ExportFragment(FileName, Format)

expression An expression that returns a Range object.

Parameters

Name

Required/Optional

Data Type

Description

FileName

Required

String

Specifies the path and file name of the file in which to save the document fragment.

Format

Required

WdSaveFormat

Specifies the file format of the document fragment file.

Return Value

Nothing

Show:
© 2015 Microsoft