Application.DefaultSaveFormat property (Excel)

Returns or sets the default format for saving files. For a list of valid constants, see the FileFormat property. Read/write Long.

Syntax

expression.DefaultSaveFormat

expression A variable that represents an Application object.

Example

This example sets the default format for saving files.

Application.DefaultSaveFormat = xlExcel4Workbook

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.