ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Clear all cell in a sheet (https://www.excelbanter.com/excel-programming/317539-clear-all-cell-sheet.html)

Alvin Hansen[_2_]

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

Hope someone can help

Alvin


Norman Jones

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




Don Guillett[_4_]

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





All times are GMT +1. The time now is 01:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com