Workbook.DisplayDrawingObjects property (Excel)

Returns or sets how shapes are displayed. Read/write Long.

Syntax

expression.DisplayDrawingObjects

expression A variable that represents a Workbook object.

Remarks

Can be one of the following XlDisplayDrawingObjects constants: xlDisplayShapes, xlPlaceholders, or xlHide.

Example

This example hides all the shapes in the active workbook.

ActiveWorkbook.DisplayDrawingObjects = xlHide

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.