Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Delete specific cells contents in a row with some locked cells in the same row
I would like to use a command button to clear the contents of specific
cells of the activecell's row. The row will have some locked cells also. Thanks for any help! Marc |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Delete specific cells contents in a row with some locked cells in the same row
Private Sub Commandbutton1_Click()
cells(activecell.row,1).Range("A1,F1:J1,M1").Clear Contents End Sub would clear the contents of cells in column A, F to J and M for the activerow. in the code Range("A1,F1:J1,M1"). is relative to Cells(Activecell.row,1). -- Regards, Tom Ogilvy "trussman" wrote in message oups.com... I would like to use a command button to clear the contents of specific cells of the activecell's row. The row will have some locked cells also. Thanks for any help! Marc |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Delete specific cells contents in a row with some locked cells in the same row
Thank you
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete contents unlocked cells | Excel Discussion (Misc queries) | |||
Delete contents in cells with macro | Excel Discussion (Misc queries) | |||
Delete contents of cells | Excel Worksheet Functions | |||
How do I delete the contents of unprotected cells only? | Excel Discussion (Misc queries) | |||
how to delete contents of cells having specific data | Excel Discussion (Misc queries) |