Syntax

expression.PrintObject

expression A variable that represents a ChartObject object.

Example

This example sets embedded chart one on Sheet1 to be printed with the worksheet.

Visual Basic for Applications
Worksheets("Sheet1").ChartObjects(1).PrintObject = True

See also: