Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Range.ExportFragment Method

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

Version Information
 Version Added:  Word 2007

Syntax

expression.ExportFragment(FileName, Format)

expression   An expression that returns a Range object.

Parameters

NameRequired/OptionalData TypeDescription
FileNameRequiredStringSpecifies the path and file name of the file in which to save the document fragment.
FormatRequiredWdSaveFormatSpecifies the file format of the document fragment file. You can save a document fragment in any format that Microsoft Office Word supports.

Return Value
Nothing




Community Additions

Show:
© 2014 Microsoft