ClassName Property

Applies To

FileConverter object.

Description

Returns a unique name that identifies the file converter. Read-only String.

See Also

FormatName property, Name property.

Example

This example displays the class name and format name of the first converter in the FileConverters collection.

MsgBox "ClassName= " & FileConverters(1).ClassName & vbCr & _
    "FormatName= " & FileConverters(1).FormatName
If an HTML file converter is available, this example sets the HTML format as the default save format.

For Each aFile In FileConverters
    If aFile.ClassName = "HTML" Then Application.DefaultSaveFormat = "HTML"
Next aFile