Cell.Shape property (PowerPoint)

Returns a Shape object that represents a shape in a table cell. Read-only.

Syntax

expression.Shape

expression A variable that represents a Cell object.

Return value

Shape

Example

This example creates a 3x3 table in a new presentation and inserts a four-pointed star into the first cell of the table.

With Presentations.Add

    With .Slides.Add(1, ppLayoutBlank)

        .Shapes.AddTable(3, 3).Select

        .Shapes(1).Table.Cell(1, 1).Shape.AutoShapeType = msoShape4pointStar

    End With

End With


See also

Cell Object

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.