Application.FileConverters Property

Word Developer Reference

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

Syntax

expression.FileConverters

expression   A variable that represents an Application 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.

Visual Basic for Applications
  MsgBox FileConverters("WrdPrfctDOS50").Path

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

Visual Basic for Applications
  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.

Visual Basic for Applications
  Dim fcTemp As FileConverter

Set fcTemp = FileConverters(FileConverters.Count) MsgBox "The file name extensions for " & fcTemp.FormatName & _ " files are: " & fcTemp.Extensions

See Also