PrintObject Property

Microsoft Excel Visual Basic

PrintObject Property

       

True if the object will be printed when the document is printed. Read/write Boolean.

Example

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

Worksheets("Sheet1").ChartObjects(1).PrintObject = True