Class FileConverters (Word VBA)

A collection of FileConverter objects that represent all the file converters available for opening and saving files. To use a FileConverters class variable it first needs to be instantiated, for example


Dim fcs as FileConverters
Set fcs = FileConverters

For Each

Here is an example of processing the FileConverters items in a collection.


Dim fcr As FileConverter
For Each fcr In FileConverters
	
Next fcr

ConvertMacWordChevrons

Controls whether text enclosed in chevron characters (« ») is converted to merge fields. Read/write Long. Possible return values are wdAlwaysConvert - The converter attempts to convert text enclosed in chevrons (< >) to mail merge fields, wdAskToConvert - The converter prompts the user to convert or not convert chevrons when a Word for the Macintosh document is opened, wdAskToNotConvert - The converter prompts the user to convert or not convert chevrons when a Word for the Macintosh document is opened, wdNeverConvert - The converter passes the text through without attempting any interpretation.

The ConvertMacWordChevrons property can be any WdChevronConvertRule constants. Word for the Macintosh version 4.0 and 5.x documents use chevron characters to denote mail merge fields.


FileConverters.ConvertMacWordChevrons = wdAlwaysConvert 
Documents.Open FileName:="C:\Documents\Mac Word Document"

Count

Returns a Long that represents the number of file converters in the collection.


Dim lngCount As Long
lngCount = FileConverters.Count

Item

Returns an individual FileConverter object in a collection.

Item (Index)

Index: The individual object to be returned. Can be a Long indicating the ordinal position or a String representing the name of the individual object.


Dim fcr As FileConverter
Set fcr = FileConverters(Index:=1)