Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I want to "zero" or "blank" all unlocked cells in a protected sheet or
workbook in Excel 2003 or later. I want to keep all locked cells untouched and also keep the formatting and locked formulas as is for the whole sheet (or workbook). In my view, this should be just a click on a button in Excel. Please help! It would make life so much easier. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi DrDisk,
You can do that by recording a macro. With the sheet unprotected Go to ToolsMacrosRecord New Macro Give the macro a name (say Clear1) and OK out Then hold down the Ctrl button and select all of the cells that you want to be cleared Hit the delete button Then click in the cell that you want to be the active cell after the macro is run. Then click on the stop button on the little toolbar that appeared after you clicked OK above. Now that you have recorded the macro you can assign it to a button. Go to ViewToolbarsForms On the forms toolbar select a button Then click and drag a window where you want the button A window should appear asking you to assign a macro to the button. Select your macro and OK out. You should be able to take it from there. Note that you have an options menu by right clicking on the button. You will get different options if you right click on the button handles as opposed to right clicking on the button itself. Once you are done you can protect the sheet again. HTH Martin "DrDisk7" wrote in message ... I want to "zero" or "blank" all unlocked cells in a protected sheet or workbook in Excel 2003 or later. I want to keep all locked cells untouched and also keep the formatting and locked formulas as is for the whole sheet (or workbook). In my view, this should be just a click on a button in Excel. Please help! It would make life so much easier. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unlocked Cells in Protected Sheet | Excel Worksheet Functions | |||
paste locked cells and unlocked cells in protected sheet | Excel Worksheet Functions | |||
Protect unlocked cells in a protected worksheet from cut/pasting | Excel Discussion (Misc queries) | |||
Find & Replace within Unlocked Cells in a Protected Worksheet | Excel Discussion (Misc queries) | |||
move between unlocked cells on protected sheet | Excel Discussion (Misc queries) |