Partager via


FormatConditions Members

Include Protected Members
Include Inherited Members

Represents the collection of conditional formats for a single range.

The FormatConditions type exposes the following members.

Properties

  Name Description
Public property _Default Reserved for internal use.
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Parent Returns the parent object for the specified object.

Top

Methods

  Name Description
Public method Add Adds a new conditional format.
Public method AddAboveAverage Returns a new AboveAverage object representing a conditional formatting rule for the specified range.
Public method AddColorScale Returns a new ColorScale object representing a conditional formatting rule that uses gradations in cell colors to indicate relative differences in the values of cells included in a selected range.
Public method AddDatabar Returns a Databar object representing a data bar conditional formatting rule for the specified range.
Public method AddIconSetCondition Returns a new IconSetCondition object which represents an icon set conditional formatting rule for the specified range.
Public method AddTop10 Returns a Top10 object representing a conditional formatting rule for the specified range.
Public method AddUniqueValues Returns a new UniqueValues object representing a conditional formatting rule for the specified range.
Public method Delete Deletes the object.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item Returns a single object from a collection.

Top

See Also

Reference

FormatConditions Interface

Microsoft.Office.Interop.Excel Namespace