CommandButton.Shape property (Access)

Returns or sets the shape of the specified button. Read/write Long.



expression A variable that represents a CommandButton object.


The Shape property uses the following settings.

Setting Description
0 Rectangle
1 (Default) Rounded Rectangle
2 Snip Single Corner Rectangle
3 Snip Same Side Corner Rectangle
4 Snip Diagonal Corner Rectangle
5 Snip and Round Single Corner Rectangle
6 Round Single Corner Rectangle
7 Round Same Side Corner Rectangle
8 Round Diagonal Corner Rectangle
9 Oval

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.