Shape

Returns or sets a value indicating the appearance of a Shape control.

Syntax

object.Shape [= value]

The parts of the Shape property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
value An integer specifying the control's appearance, as described in Settings.

Settings

The settings for value are described in the following table.

Constant Setting Description
vbShapeRectangle 0 (Default) Rectangle
vbShapeSquare 1 Square
vbShapeOval 2 Oval
vbShapeCircle 3 Circle
vbShapeRoundedRectangle 4 Rounded Rectangle
vbShapeRoundedSquare 5 Rounded Square