LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Clearing the Contents of a range of cells

I am trying to use some kind of offset to clearcontents of a range of cells
I have Names in Column A but they are not listed one other the other. Some
have more rows between them the the others. I need to be able to clear the
contents of the rows based on what is in column A.
Kinda like:
Sub ClearQAScoresPage()
Dim rng As Range
Sheets("Sheet1").Select
Set myrng = Worksheets("Sheet1").Range("A:A")
For Each c In myrng
If c.Value < "" Then
Clear the cells.................??????/
myrng.ClearContents
End If
Next
End Sub
How do I select the cells based on an offset.
 
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
Deleting/Clearing duplicate range of cells Steve Excel Worksheet Functions 0 April 28th 10 03:59 PM
Clearing the Contents of Merged Cells prizm1 New Users to Excel 2 September 10th 05 04:42 AM
clearing the contents of specified cells Jimmy Pop Excel Programming 5 May 27th 05 01:17 AM
Clearing Contents of all "unprotected" Cells. Casey[_12_] Excel Programming 2 August 6th 04 09:40 PM
Clearing the contents of merged cells Doug Glancy Excel Programming 0 April 23rd 04 08:54 PM


All times are GMT +1. The time now is 06:49 PM.

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

About Us

"It's about Microsoft Excel"