Cell format as condition

M

mars

I would like to evaluate the formatting of a cell as a condition to setting
the value in another cell. For example, I have list values in cell in which
the user has used BOLD format to indicate choice. I would like to read the
identify the cells with BOLD format and they populate value of the cell in
new cell. Any suggestions or help is greatly appreciated. Thanks in advance.

- mars
 
C

Corey

Not sure if it was what you are after:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Font.Bold = True Then
ActiveCell.Offset(1, 0).Value = ActiveCell.Value
End If
End Sub

Modify the offset to suit.

Corey....
 

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