Share via


Cell.Shape Property

PowerPoint Developer Reference

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.

Visual Basic for Applications
  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