FileConverters Property 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.

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