Expand Minimize

Application.FileConverters Property (Word)

Returns a FileConverters collection that represents all the file converters available to Microsoft Word. Read-only.

expression .FileConverters

expression A variable that represents an Application object.

For information about returning a single member of a collection, see Returning an Object from a Collection.

This example displays the path of the WordPerfect 5.0 file converter.

MsgBox FileConverters("WrdPrfctDOS50").Path

This example displays a message that indicates whether the third converter in the FileConverters collection can save files.

If FileConverters(3).CanSave = True Then 
 MsgBox FileConverters(3).FormatName & " can save files" 
 MsgBox FileConverters(3).FormatName & " cannot save files" 
End If

This example displays the name of the last file converter.

Dim fcTemp As FileConverter 
Set fcTemp = FileConverters(FileConverters.Count) 
MsgBox "The file name extensions for " & fcTemp.FormatName & _ 
 " files are: " & fcTemp.Extensions
© 2015 Microsoft