Make sure you have an empty column to the right of the selected cells.
Sub Strike_Through()
For Each cell In Selection
If cell.Font.Strikethrough = True Then
cell.Offset(0, 1).Value = "TRUE"
Else: cell.Offset(0, 1).Value = "FALSE"
End If
Next cell
End Sub
It can be done with a named formula that uses GET.CELL but a UDF or macro is
easier to work with.
Biff
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.