FileConverter.FormatName property (Word)

Returns the name of the specified file converter. Read-only String.

Syntax

expression. FormatName

expression A variable that represents a 'FileConverter' object.

Remarks

The format names appear in the Save as type box in the Save As dialog box (File menu).

Example

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

MsgBox FileConverters(1).FormatName

This example uses the AvailableConv() array to store the names of all the available file converters.

Dim intTemp As Integer 
Dim fcLoop As FileConverter 
Dim AvailableConv As Variant 
 
ReDim AvailableConv(FileConverters.Count - 1) 
 
intTemp = 0 
 
For Each fcLoop In FileConverters 
 AvailableConv(intTemp) = fcLoop.FormatName 
 intTemp = intTemp + 1 
Next fcLoop

See also

FileConverter Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.