• 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.

Delete values with Strikethrough

ThrottleWorks

Excel Ninja
Hi,


I have a datafile, in column C I have names of customers.


These names can be in hundreds, some of the names are "Strikethrough" (Format Cells, Font, Effects).


I am am not supposed to work on values marked with strickethrough.


Can anyone please tell me how can I delete values with Strikethrough.

I tried hard but could not think of any solution.
 
Hi !

[pre]
Code:
Sub Test()
For Each Cel In Columns(3).Cells
If Cel.Font.Strikethrough Then Cel.Clear
Next
End Sub
[/pre]
 
Back
Top