Class FileExportConverter (Excel VBA)

The class FileExportConverter represents a file converter that is used to save files. To use a FileExportConverter class variable it first needs to be instantiated, for example


Dim fec as FileExportConverter
Set fec = Application.FileExportConverters(Index:=1)

For Each

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


Dim fec As FileExportConverter
For Each fec In Application.FileExportConverters
	
Next fec

Description

Returns the description for the file converter.


Dim strDescription As String
strDescription = Application.FileExportConverters(1).Description

Extensions

Returns the file name extensions associated with the specified FileExportConverter object.


Dim strExtensions As String
strExtensions = Application.FileExportConverters(1).Extensions

FileFormat

Returns an integer that identifies the file format associated with the specified FileExportConverter object.


Dim lngFileFormat As Long
lngFileFormat = Application.FileExportConverters(1).FileFormat