FileConverters object (Word)

A collection of FileConverter objects that represent all the file converters available for opening and saving files.

Remarks

Use the FileConverters property to return the FileConverters collection. The following example determines whether a WordPerfect 6.0 converter is available.

For Each conv In FileConverters 
 If conv.FormatName = "WordPerfect 6.x" Then 
 MsgBox "WordPerfect 6.0 converter is installed" 
 End if 
Next conv

The Add method isn't available for the FileConverters collection. FileConverter objects are added during installation of Microsoft Office or by installing supplemental converters.

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

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).

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.