FileConverter.FormatName Property

Word Developer Reference

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.

Visual Basic for Applications
  MsgBox FileConverters(1).FormatName

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

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