View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Roger Roger is offline
external usenet poster
 
Posts: 226
Default Reposting - Why would this not Clear Cells

Hello,

Im looking to run this on the noted row after entries have been made. Only
problem is €“ it doesnt work.

Can you tell me what Im doing wrong? Im just trying to clear a cell if it
has the value €œNo€ in the cell.

Thank you - Roger


Sub NoNo()
For Each c In Worksheets("Front Page").Range("F15:F60").Cells
If c.Value =€No" Then c.Selection.ClearContents = True
Next
End sub