Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Code to clear contents
Is there a code to clear all contents of a sheet with the exception of row
"A" . |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Code to clear contents
Rows are numbered. Columns are lettered (or numbered??).
with activesheet 'clear all the contents of rows 2:65536 .range("2:" & .rows.count).clearcontents 'clear all the contents of columns B:IV .range(.columns(2), .columns(.columns.count)).clearcontents end with jk wrote: Is there a code to clear all contents of a sheet with the exception of row "A" . -- Dave Peterson |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Code to clear contents
Do you mean column "A"?
jk wrote: Is there a code to clear all contents of a sheet with the exception of row "A" . |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Code to clear contents
My mistake , it is row 1, columns A through K. I need it to be automated
instead of constantly highlighting all rows/columns then hitting delete. I am new to coding so i need to clear all contents except for criteria row1,col A through K. " wrote: Do you mean column "A"? jk wrote: Is there a code to clear all contents of a sheet with the exception of row "A" . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can someone help me put psuedo code into actual excel macro?? | Excel Discussion (Misc queries) | |||
Clear clipboard contents | Excel Discussion (Misc queries) | |||
t-distribution puzzle in Excel | Excel Discussion (Misc queries) | |||
Change case...help please | Excel Worksheet Functions | |||
Macro for changing text to Proper Case | Excel Worksheet Functions |