A collection of cell style groups.
Methods
CellStyleGroup
add ([withProperties:
Object])
Creates a new CellStyleGroup.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new CellStyleGroup (Optional) |
CellStyleGroup
anyItem ()
Returns any CellStyleGroup in the collection.
number count ()
Displays the number of elements in the CellStyleGroup.
Array of CellStyleGroup
everyItem ()
Returns every CellStyleGroup in the collection.
CellStyleGroup
firstItem ()
Returns the first CellStyleGroup in the collection.
CellStyleGroup
item (index:
any)
Returns the CellStyleGroup with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
CellStyleGroup
itemByID (id:
number)
Returns the CellStyleGroup with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
CellStyleGroup
itemByName (name:
string)
Returns the CellStyleGroup with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of CellStyleGroup
itemByRange (from:
any, to:
any)
Returns the CellStyleGroups within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from |
CellStyleGroup
Long Integer String |
The CellStyleGroup, index, or name at the beginning of the range. Can accept: CellStyleGroup, Long Integer or String. |
| to |
CellStyleGroup
Long Integer String |
The CellStyleGroup, index, or name at the end of the range. Can accept: CellStyleGroup, Long Integer or String. |
CellStyleGroup
lastItem ()
Returns the last CellStyleGroup in the collection.
CellStyleGroup
middleItem ()
Returns the middle CellStyleGroup in the collection.
CellStyleGroup
nextItem (obj:
CellStyleGroup)
Returns the CellStyleGroup whose index follows the specified CellStyleGroup in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | CellStyleGroup | The CellStyleGroup whose index comes before the desired CellStyleGroup. |
CellStyleGroup
previousItem (obj:
CellStyleGroup)
Returns the CellStyleGroup with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | CellStyleGroup | The index of the CellStyleGroup that follows the desired CellStyleGroup. |
string toSource ()
Generates a string which, if executed, will return the CellStyleGroup.
Element of:
Application.cellStyleGroupsCellStyleGroup.cellStyleGroups
Document.cellStyleGroups