SaveAsOldFileFormat method (Excel Graph)

In a host application such as Microsoft PowerPoint, saves a chart in the specified older file format.

Syntax

expression.SaveAsOldFileFormat (MajorVersion, MinorVersion)

expression Required. An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
MajorVersion Optional Variant Specifies the major version number of the file format that you want to use.
MinorVersion Optional Variant Specifies the minor version number of the file format that you want to use.

Example

This example saves the chart in Graph version 5.0 file format.

myChart.Application.SaveAsOldFileFormat MajorVersion:=5

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.