Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 209
Default Clear all cell in a sheet

Hi!!
I need some way to clear all
cell in a sheet.

Hope someone can help

Alvin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Clear all cell in a sheet

Hi Alvin,

Try:

Sheets("YourSheetName").Cells.ClearContents


---
Regards,
Norman



"Alvin Hansen" wrote in message
...
Hi!!
I need some way to clear all
cell in a sheet.

Hope someone can help

Alvin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Clear all cell in a sheet

try

Sub clearcells()
Worksheets("sheet13").UsedRange.Clear
End Sub

--
Don Guillett
SalesAid Software

"Alvin Hansen" wrote in message
...
Hi!!
I need some way to clear all
cell in a sheet.

Hope someone can help

Alvin



Reply
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
Copy Sheet to new Sheet and clear cells on original sheets Boiler-Todd Excel Discussion (Misc queries) 7 September 23rd 09 10:02 PM
Transfer a name from one cell to another but leave clear if clear? Scoober Excel Worksheet Functions 3 May 22nd 09 02:55 AM
Clear a set of combo boxes after a Submit of data to a new sheet. Jonah Excel Worksheet Functions 0 March 3rd 08 12:05 AM
Code to clear sheet gregork Excel Programming 5 February 7th 04 06:34 PM
Macro help - copy row, clear, and paste on different sheet miker1999[_3_] Excel Programming 3 February 1st 04 03:22 AM


All times are GMT +1. The time now is 05:53 AM.

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"