Share via


FileConverter Object

FileConverters
FileConverter

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.

Using the FileConverter Object

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.

Remarks

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 | Application Property | CanOpen Property | CanSave Property | ClassName Property | Creator Property | Extensions Property | FormatName Property | Name Property | OpenFormat Property | Parent Property | Path Property | SaveFormat Property

Parent Objects

Child Objects