if font is bold then cell value is number

G

Gary''s Student

Sub jon()
With Range("A1").Font
If .FontStyle = "Bold" And .ColorIndex = 3 Then
Range("A1").Value = 123
End If
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top