ToggleButton.Glow property (Access)
Gets or sets the glow effect applied to the specified object. Read/write Long.
Syntax
expression.Glow
expression A variable that represents a ToggleButton object.
Remarks
The Glow property contains a numeric expression that represents the glow effect applied to the specified object. The default value of the Glow property is 0, which does not apply a glow effect. The values are listed in the following table.
Value | Effect |
---|---|
0 | None |
1 | Blue, 5 pt glow, Accent color 1 |
2 | Red, 5 pt glow, Accent color 2 |
3 | Olive Green, 5 pt glow, Accent color 3 |
4 | Purple, 5 pt glow, Accent color 4 |
5 | Aqua, 5 pt glow, Accent color 5 |
6 | Orange, 5 pt glow, Accent color 6 |
7 | Blue, 8 pt glow, Accent color 1 |
8 | Red, 8 pt glow, Accent color 2 |
9 | Olive Green, 8 pt glow, Accent color 3 |
10 | Purple, 8 pt glow, Accent color 4 |
11 | Aqua, 8 pt glow, Accent color 5 |
12 | Orange, 8 pt glow, Accent color 6 |
13 | Blue, 11 pt glow, Accent color 1 |
14 | Red, 11 pt glow, Accent color 2 |
15 | Olive Green, 11 pt glow, Accent color 3 |
16 | Purple, 11 pt glow, Accent color 4 |
17 | Aqua, 11 pt glow, Accent color 5 |
18 | Orange, 11 pt glow, Accent color 6 |
19 | Blue, 18 pt glow, Accent color 1 |
20 | Red, 18 pt glow, Accent color 2 |
21 | Olive Green, 18 pt glow, Accent color 3 |
22 | Purple, 18 pt glow, Accent color 4 |
23 | Aqua, 18 pt glow, Accent color 5 |
24 | Orange, 18 pt glow, Accent color 6 |
To see the available glow effects and apply a glow 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 choosing the view that you want.
Next, choose the object to which you want to apply a glow effect. On the Format tab, in the Control Formatting group, choose Shape Effects > Glow, and then choose a glow effect.
Notice that the glow effects are indexed from left to right, and then from top to bottom. The first item, under No Glow, has the value 0. Under Glow, the first row contains glow effects with values from 1 to 6, the second row from 7 to 12, the third row from 13 to 18, and the fourth row from 19 to 24.
This property is not surfaced in the property sheet.
Example
The following code example sets the glow effect to Aqua, 11 pt glow, Accent color 5.
Me.ctl.Glow = 17
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.