![]() |
Clearing cells
Other than a tedious looping construct, how can you
quickly clear a large block of cells? TIA |
Clearing cells
Selection.Clear
Selection.ClearContents Range("A1:A100").Clear Range("A1:A100").ClearContents Clearcontents will only clear the value in it Clear also the formatting -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "hal" wrote in message ... Other than a tedious looping construct, how can you quickly clear a large block of cells? TIA |
Clearing cells
Hal,
Try something like Range("A1:Z10000").Clear Or do you have something else in mind? -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "hal" wrote in message ... Other than a tedious looping construct, how can you quickly clear a large block of cells? TIA |
Clearing cells
Range("A1").CurrentRegion.ClearContents
Regards, Tom Ogilvy "hal" wrote in message ... Other than a tedious looping construct, how can you quickly clear a large block of cells? TIA |
All times are GMT +1. The time now is 04:00 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com