Add method (Styles collection)
Adds a new Style object to a Styles collection.
Version added
2.0
Syntax
| |
styleObj |
The new Style object added to the Styles collection. |
object |
Required. An expression that returns a Styles collection. |
newStyleName |
Required String. The new style name. |
basedOnName |
Required String. The name of the style on which to base the new style. |
fIncludesText |
Required Integer. Zero to disable text attributes, or non-zero to enable them. |
fIncludesLine |
Required Integer. Zero to disable line attributes, or non-zero to enable them. |
fIncludesFill |
Required Integer. Zero to disable fill attributes, or non-zero to enable them. |
Remarks
Pass a zero-length string ("") for the basedOnName argument to base the new style on no style.