CellFormat Members (Excel)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
Represents the search criteria for the cell format.
Methods
Name |
Description |
---|---|
Clears the criterias set in the FindFormat and ReplaceFormat properties. |
Properties
Name |
Description |
---|---|
Returns or sets a Variant 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 or sets a Borders collection that represents the search criteria based on the cell's border format. |
|
Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long. |
|
Returns a Font object, allowing the user to set or return the search criteria based on the cell's font format. |
|
Returns or sets a Variant value that indicates if the formula will be hidden when the worksheet is protected. |
|
Returns or sets a Variant value that represents the horizontal alignment for the specified object. |
|
Returns or sets a Variant value that represents the indent level for the cell or range. Can be an integer from 0 to 15. |
|
Returns an Interior object allowing the user to set or return the search criteria based on the cell's interior format. |
|
Returns or sets a Variant value that indicates if the object is locked. |
|
True if the range or style contains merged cells. Read/write Variant. |
|
Returns or sets a Variant value that represents the format code for the object. |
|
Returns or sets a Variant value that represents the format code for the object as a string in the language of the user. |
|
Returns or sets a Variant value that represents the text orientation. |
|
Returns the parent object for the specified object. Read-only. |
|
Returns or sets a Variant value that indicates if text automatically shrinks to fit in the available column width. |
|
Returns or sets a Variant value that represents the vertical alignment of the specified object. |
|
Returns or sets a Variant value that indicates if Microsoft Excel wraps the text in the object. |