• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Identifying BOLDED cell

RalphT

New Member
I am writing code where I need to be able to identify a cell with BOLD formatting and act on that information. How do I identify BOLDED cells?
 
Hi,

Try something like below:

Code:
If Range("A1").Font.Bold = True Then
        MsgBox "Cell is bold" 'Execute this part if cell is bold
    Else
    ' Execute this part if not bold
    End If

Regards,
 
Back
Top