April 2006
Beginner
1114 pages
98h 16m
English
Application.FileConverters[(Index1, Index2)]
Returns an array of installed file converters.
|
Argument |
Setting |
|---|---|
|
|
The full name of the converter including file type |
|
|
The path of the converter’s DLL |
If arguments are omitted, FileConverters returns Null if there are no converters or a two-dimensional array containing the name, DLL path, and extension for each converter. The following code displays a table of the installed converters:
Sub TestFileConverters( )
Dim cnv As Variant, i As Integer
cnv = Application.FileConverters
' Display table columns
Debug.Print "Name", "DLL", "Extension"
' Check if converters are installed
If Not IsNull(cnv) Then
For i = 1 To UBound(cnv, 1)
Debug.Print cnv(i, 1), cnv(i, 2), cnv(i, 3)
Next
Else
Debug.Print "No converters installed."
End If
End SubRead now
Unlock full access