LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reposting for help with Outlook from Excel Jenny B. Excel Discussion (Misc queries) 2 January 14th 08 06:57 PM
Cells.Clear Ben Dummar Excel Discussion (Misc queries) 3 January 24th 07 10:50 PM
Sorry for reposting - but this is driving me crazy! Bean123r Excel Discussion (Misc queries) 1 January 27th 06 02:31 PM
Clear Cells Mike Excel Discussion (Misc queries) 4 November 20th 05 11:50 PM


All times are GMT +1. The time now is 09:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"