Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
Returns an integer that identifies the file format associated with the specified FileExportConverter object. Read-only.
Syntax
expression.FileFormat
expression A variable that represents a FileExportConverter object.
Example
The following example displays the file format identifier for the first file converter in the FileExportConverters collection.
Dim fcTemp As FileExportConverter
Set fcTemp = FileExportConverters(1)
MsgBox "The file format identifier for the file converter is: " & fcTemp.FileFormat
The following example shows how to use the file format identifier as a parameter in the SaveAs method of the Workbook object to save a file by using the first file converter in the FileExportConverters collection.
ActiveWorkbook.SaveAs _
Filename:="C:\temp\myFile.xyz", _
FileFormat:=Application.FileExportConverters(1).FileFormat, _
CreateBackup:=False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.