Style Members (Excel)
Represents a style description for a range.
Methods
Name |
Description |
---|---|
Deletes the object. |
Properties
Name |
Description |
---|---|
Returns or sets a Boolean value that indicates if text is automatically indented when the text alignment in a cell is set to equal distribution (either horizontally or vertically.) |
|
When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. |
|
Returns a Borders collection that represents the borders of a style or a range of cells (including a range defined as part of a conditional format). |
|
True if the style is a built-in style. Read-only Boolean. |
|
Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long. |
|
Returns a Font object that represents the font of the specified object. |
|
Returns or sets a Boolean value that indicates if the formula will be hidden when the worksheet is protected. |
|
Returns or sets a XlHAlign value that represents the horizontal alignment for the specified object. |
|
True if the style includes the AddIndent, HorizontalAlignment, VerticalAlignment, WrapText, IndentLevel, and Orientation properties. Read/write Boolean. |
|
True if the style includes the Color, ColorIndex, LineStyle, and Weight border properties. Read/write Boolean. |
|
True if the style includes the Background, Bold, Color, ColorIndex, FontStyle, Italic, Name, Size, Strikethrough, Subscript, Superscript, and Underline font properties. Read/write Boolean. |
|
True if the style includes the NumberFormat property. Read/write Boolean |
|
True if the style includes the Color, ColorIndex, InvertIfNegative, Pattern, PatternColor, and PatternColorIndex interior properties. Read/write Boolean. |
|
True if the style includes the FormulaHidden and Locked protection properties. Read/write Boolean. |
|
Returns or sets a Long value that represents the indent level for the style. |
|
Returns an Interior object that represents the interior of the specified object. |
|
Returns or sets a Boolean value that indicates if the object is locked. |
|
True if the style contains merged cells. Read/write Variant. |
|
Returns a String value that represents the name of the object. |
|
Returns or sets the name of the object, in the language of the user. Read-only String. |
|
Returns or sets a String value that represents the format code for the object. |
|
Returns or sets a String value that represents the format code for the object as a string in the language of the user. |
|
Returns or sets a XlOrientation value that represents the text orientation. |
|
Returns the parent object for the specified object. Read-only. |
|
Returns or sets the reading order for the specified object. Can be one of the following constants: xlRTL (right-to-left), xlLTR (left-to-right), or xlContext. Read/write Long. |
|
Returns or sets a Boolean value that indicates if text automatically shrinks to fit in the available column width. |
|
Returns a String value that represents the name of the specified style. |
|
Returns or sets a XlVAlign value that represents the vertical alignment of the specified object. |
|
Returns or sets a Boolean value that indicates if Microsoft Excel wraps the text in the object. |