FileConverter.SaveFormat Property
Word Developer Reference |
Returns the file format of the specified document or file converter. Read-only Long.
Syntax
expression.SaveFormat
expression Required. A variable that represents a FileConverter object.
Remarks
This property returns a unique number that specifies an external file converter or a WdSaveFormat constant. Use the value of the SaveFormat property for the FileFormat argument of the SaveAs method to save a document in a file format for which there isn't a corresponding WdSaveFormat constant.
Example
This example creates a new document and lists in a table the converters that can be used to save documents and their corresponding SaveFormat values.
Visual Basic for Applications |
---|
|
This example saves the active document in the WordPerfect 5.1 or 5.2 secondary file format.
Visual Basic for Applications |
---|
|
See Also