Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.14 KB

Word.FileConverter.ClassName.md

File metadata and controls

56 lines (33 loc) · 1.14 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
FileConverter.ClassName property (Word)
vbawd10.chm161021953
vbawd10.chm161021953
Word.FileConverter.ClassName
71124adf-11fc-e42d-a9f5-940f7fea97af
06/08/2017
medium

FileConverter.ClassName property (Word)

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

Syntax

expression. ClassName

expression A variable that represents a 'FileConverter' object.

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.

Dim fcLoop As FileConverter 
 
For Each fcLoop In FileConverters 
 If fcLoop.ClassName = "HTML" Then _ 
 Application.DefaultSaveFormat = "HTML" 
Next fcLoop

See also

FileConverter Object

[!includeSupport and feedback]