Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Returns or sets the shape of the specified button. Read/write Long.
Syntax
expression.Shape
expression A variable that represents a CommandButton object.
Remarks
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.