Solved

Clear cell range in excel

Posted on 2008-10-03
4
1,126 Views
Last Modified: 2010-08-05
How can I clear a range of cells in an excel sheet?

Actually, I am looking to clear the entire sheet. Is this possible?
0
Comment
Question by:scbdpm
  • 2
4 Comments
 
LVL 4

Expert Comment

by:PaulRKrueger
ID: 22637223
Highlight the cells (for a group) or,
Click the box above the #1 and the the left of A (to select all cells in the sheet).

Right-click within the sheet and select Clear Contents.
0
 

Author Comment

by:scbdpm
ID: 22637289
Thanks for the quick response but I posted in VB cause I want to do this in VB not manually!!!!!
0
 
LVL 4

Expert Comment

by:PaulRKrueger
ID: 22637509
Ohhhh... didn't notice. Sorry!
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 250 total points
ID: 22638980
Worksheets("Name of WS").Cells.ClearContents
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

My experience with Windows 10 over a one year period and suggestions for smooth operation
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question