Muokkaa

Jaa


FileConverter object (Word)

Represents a file converter that's used to open or save files. The FileConverter object is a member of the FileConverters collection. The FileConverters collection contains all the installed file converters for opening and saving files.

Remarks

Use FileConverters (Index), where Index is a class name or index number, to return a single FileConverter object. The following example displays the extensions associated with the Microsoft Excel worksheet converter.

MsgBox FileConverters("MSBiff").Extensions

The index number represents the position of the file converter in the FileConverters collection. The following example displays the format name of the first file converter.

MsgBox FileConverters(1).FormatName

You cannot create a new file converter or add one to the FileConverters collection. FileConverter objects are added during installation of Microsoft Office or by installing supplemental file converters. Use either the CanSave or CanOpen property to determine whether a FileConverter object can be used to open or save document.

File converters for saving documents are listed in the Save As dialog box. File converters for opening documents appear in a dialog box if the Confirm conversion at Open check box is selected on the General tab in the Options dialog box (Tools menu).

Properties

Name
Application
CanOpen
CanSave
ClassName
Creator
Extensions
FormatName
Name
OpenFormat
Parent
Path
SaveFormat

See also

Word Object Model Reference

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.