Table of contents
TOC
Collapse the table of content
Expand the table of content

CommandButton.QuickStyle Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets the Quick Style that is applied to the specified object. Read/write Long.

Syntax

expression. QuickStyle

expression A variable that represents a CommandButton object.

Remarks

The QuickStyle uses one of the values listed in the following table.

ValueEffect
0 (Default)No Quick Style
1Colored Outline - Black, Dark 1
2Colored Outline - Ice Blue, Accent 1
3Colored Outline - Orange, Accent 2
4Colored Outline - Olive Green, Accent 3
5Colored Outline - Gold, Accent 4
6Colored Outline - Green, Accent 5
7Colored Outline - Gray-50%, Accent 6
8Colored Fill - Black, Dark 1
9Colored Fill - Ice Blue, Accent 1
10Colored Fill - Orange, Accent 2
11Colored Fill - Olive Green, Accent 3
12Colored Fill - Gold, Accent 4
13Colored Fill - Green, Accent 5
14Colored Fill - Gray-50%, Accent 6
15Light 1 Outline, Colored Fill - Black, Dark 1
16Light 1 Outline, Colored Fill - Ice Blue, Accent 1
17Light 1 Outline, Colored Fill - Orange, Accent 2
18Light 1 Outline, Colored Fill - Olive Green, Accent 3
19Light 1 Outline, Colored Fill - Gold, Accent 4
10Light 1 Outline, Colored Fill - Green, Accent 5
21Light 1 Outline, Colored Fill - Gray-50%, Accent 6
22Subtle Effect - Black, Dark 1
23Subtle Effect - Ice Blue, Accent 1
24Subtle Effect - Orange, Accent 2
25Subtle Effect - Olive Green, Accent 3
26Subtle Effect - Gold, Accent 4
27Subtle Effect - Green, Accent 5
28Subtle Effect - Gray-50%, Accent 6
29Moderate Effect - Black, Dark 1
30Moderate Effect - Ice Blue, Accent 1
31Moderate Effect - Orange, Accent 2
32Moderate Effect - Olive Green, Accent 3
33Moderate Effect - Gold, Accent 4
34Moderate Effect - Green, Accent 5
35Moderate Effect - Gray-50%, Accent 6
36Intense Effect - Black, Dark 1
37Intense Effect - Ice Blue, Accent 1
38Intense Effect - Orange, Accent 2
39Intense Effect - Olive Green, Accent 3
40Intense Effect - Gold, Accent 4
41Intense Effect - Green, Accent 5
42Intense Effect - Gray-50%, Accent 6

To see the available Quick Styles and apply a Quick Style through the user interface, first open the form or report in Layout view or Design view by right-clicking the form or report in the Navigation Pane, and then clicking the view you want. Then, click the object to which you want to apply a shadow effect. Next, on the Format tab, in the Control Formatting group, click Quick Styles and choose a Quick Style. Notice that the Quick Styles are indexed from left to right, and then top to bottom. So the first item, Colored Outline - Black, Dark 1, has the value 1. The first row contains Quick Styles with values from 1 to 7. The second row from 8 to 14, and so on.

This property is not surfaced in the property sheet.

See also

Concepts

CommandButton Object

© 2017 Microsoft