title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
CommandButton.Alignment property (Access) |
vbaac10.chm14292 |
|
|
b0081eea-1149-d173-646a-0800aa558415 |
03/05/2019 |
medium |
Gets or sets how the specified button's caption and picture are aligned. Read/write Byte.
expression.Alignment
expression A variable that represents a CommandButton object.
The Alignment property uses the following settings.
Value | Description |
---|---|
0 | General alignment |
1 | Left alignment |
2 | (Default) Center alignment |
3 | Right alignment |
4 | Distribute alignment evenly across the button's width |
[!includeSupport and feedback]