Share via


CellFormat.Font Property

Returns a Font object, allowing the user to set or return the search criteria based on the cell's font format.

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

Syntax

'Declaration
Property Font As Font
    Get
    Set
'Usage
Dim instance As CellFormat
Dim value As Font

value = instance.Font

instance.Font = value
Font Font { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.Font

See Also

Reference

CellFormat Interface

CellFormat Members

Microsoft.Office.Interop.Excel Namespace