Partager via


Global.FileConverters Property (Word)

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

Syntax

expression .FileConverters

expression A variable that represents a Global object.

Remarks

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

Example

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" 
Else 
 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

See Also

Concepts

Global Object

Global Object Members