Shape

This property returns and sets a value that indicates the appearance of a Shape control.

Syntax

object.Shape [= value]

Parameters

object
Object expression that evaluates to a Shape control.
value
Integer that specifies a control's appearance. The following table shows the settings for value.
Constant
Setting
Description
vbShapeRectangle 0 (default) Rectangle
vbShapeSquare 1 Square
vbShapeOval 2 Oval
vbShapeCircle 3 Circle
vbShapeRoundedRectangle 4 Rounded rectangle
vbShapeRoundedSquare 5 Rounded square