Class FileConverter (PowerPoint VBA)

The class FileConverter represents a file converter that is used to open or save files. The FileConverter object is a member of the FileConverters collection. The FileConverters collection contains all the installed file converters for opening and saving files.


To use a FileConverter class variable it first needs to be instantiated, for example

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

The following procedures can be used to set variables of type FileConverter: FileConverters.Item, Application.FileConverters and Parent


Some procedures in this class have been grouped together in themes and are described on separate theme pages

Save with its procedures CanSave and SaveFormat
Name with its procedures ClassName, FormatName and Name


CanOpen true if the specified file converter is designed to open files.

Dim booCanOpen As Boolean
booCanOpen = fcr.CanOpen

Extensions returns the file name extensions associated with the specified FileConverter object.

Dim strExtensions As String
strExtensions = fcr.Extensions

OpenFormat returns the file format of the specified file converter.

Dim lngOpenFormat As Long
lngOpenFormat = fcr.OpenFormat

Parent returns an Object that represents the parent object of the specified FileConverter object.

Dim fcsParent As FileConverters
Set fcsParent = fcr.Parent

Path returns the disk or Web path to the specified object.

Dim strPath As String
strPath = fcr.Path

FileConverters.Count returns a Long that represents the number of file converters in the collection.

Dim fcs As FileConverters: Set fcs = 
Dim lngCount As Long
lngCount = fcs.Count