Solved

Clear cell range in excel

Posted on 2008-10-03
4
1,124 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Find word and 6 digit number 22 97
Recover lost Hyperlink destination/target in OneNote 3 29
sql server query from excel 3 57
macro for closing opened workbook 6 19
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now