View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Reposting - Why would this not Clear Cells

You have a couple of replies to your first post.

Roger wrote:

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


--

Dave Peterson