Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would like to know how can i erase the content of all cells from a sheet. i tried somethine like sheet(1).range("A1:IV65536").value="" but it use 100 % CPU for 20 seconds and more than 180 Mb of memory... i'm sure that something else can be done easily and without such resource usage. Maileen |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maileen,
Sheet(1).Clear - to clear all Sheet(1).ClearContents - to preserve formatting. Regards, Chris. -- Chris Marlow MCSD.NET, Microsoft Office XP Master "Maileen" wrote: Hi, I would like to know how can i erase the content of all cells from a sheet. i tried somethine like sheet(1).range("A1:IV65536").value="" but it use 100 % CPU for 20 seconds and more than 180 Mb of memory... i'm sure that something else can be done easily and without such resource usage. Maileen |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Maileen,
Try: Sheets(1).Cells.Clear --- Regards, Norman "Maileen" wrote in message ... Hi, I would like to know how can i erase the content of all cells from a sheet. i tried somethine like sheet(1).range("A1:IV65536").value="" but it use 100 % CPU for 20 seconds and more than 180 Mb of memory... i'm sure that something else can be done easily and without such resource usage. Maileen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Erase same content in all cells in Excel | Excel Discussion (Misc queries) | |||
Erase same content in all cells in Excel | Excel Discussion (Misc queries) | |||
full cell content not shown in print | Excel Discussion (Misc queries) | |||
Erase Data on Sheet | Excel Programming | |||
VB to erase 2 Columns from every sheet | Excel Worksheet Functions |