Chart.Export (PowerPoint)

Exports the chart in a graphic format.

Syntax : expression.Export (FileName, FilterName, Interactive)

Dim strFileName As String: strFileName = 
Dim booExport As Boolean
booExport = ActivePresentation.Slides(1).Shapes(1).Chart.Export(FileName:=strFileName)

Arguments

The following argument is required

FileName (String) - The name of the exported file.

The following arguments are optional

FilterName (String) - The language-independent name of the graphic filter as it appears in the registry, for example, PNG or GIF. PNG is the default if no value is supplied.

Interactive - N/A