Solved

Clear cell range in excel

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

825 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