Name

Application.FindFormat

Synopsis

Returns the CellFormat object used by the Find method. For example, the following code selects the first bold cell on the active worksheet:

Sub TestFindFormat(  )
    With Application.FindFormat
        .Font.Bold = True
    End With
    Cells.Find("", , , , , , , , True).Select
End Sub

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.