You can use the ApplyTheme method to specify the Microsoft Office theme for a specified data access page.
Syntax
object.ApplyTheme themename
The ApplyTheme method has the following arguments.
| Argument | Description |
|---|---|
| object | Optional. A string expression that evaluates to the DataAccessPage object. |
| themename | A string expression that's the name of the Office theme. |
Remarks
The ApplyTheme method provides a means of changing environment options from Visual Basic code.