2.14.13 themeApply2w
Contents
Brief Information
Apply theme to worksheet(s)
Command Line Usage
1. themeApply2w theme:="New Table";
2. themeApply2w theme:="New Table" option:=3;
3: themeApply2w theme:="New Table" option:=5 sheets:=[Book1]Sheet1;
X-Function Execution Options
Variables
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Theme | theme |
Input string |
|
This variable specific the name of the theme that is used to apply to a worksheet. |
| Option | option |
Input int |
|
Options Option list
|
| Worksheets | sheets |
Input string |
|
Specify the sheets that will be applied theme. This variable is used only if option:=5 |
Description
This X-Function is used to apply the theme on a worksheet and some worksheets.
Examples
The following example shows how to use the X-Function themeApply2g:
1. New a workbook
2. Type themeApply2w -d in the command line window
3. Select one of the values under theme combo box.
4. Select "Sheets in project" under option combo box.
5. Click OK to see the change.
Related X-Functions
,