Partager via


CellFormat Interface

Represents the search criteria for the cell format.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024450-0000-0000-C000-000000000046")> _
Public Interface CellFormat
'Usage
Dim instance As CellFormat
[InterfaceTypeAttribute()]
[GuidAttribute("00024450-0000-0000-C000-000000000046")]
public interface CellFormat

Remarks

Use the FindFormat or ReplaceFormat properties of the Application object to return a CellFormat object.

You can use the Borders, Font, or Interior properties of the CellFormat object to define the search criteria for the cell format.

See Also

Reference

CellFormat Members

Microsoft.Office.Interop.Excel Namespace