Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I have an Excel Form with cells for direct data entry and cells with
formulas. The form is protected so that only those cells for direct data entry are editable. All the other cells are locked. I want to create a macro to clear all the data from the unlocked cells. I recorded a macro using the F5 (goto) function key, the shift key to select contiguous cells, and the delete key to clear those cells. The problem is, if I move anything on the form, the cell references in the macro don't change. I have to edit the macro in the vb editor. Is there a way to select, in a protected sheet, all unlocked cells and delete their contents, without using cell references that may change when the form is changed? Any help is greatly appreciated, Bernie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Drop-down list on simple excel 2003 form using "form" from data me | Excel Discussion (Misc queries) | |||
Excel 2003 - Customise a Data Form for dropdown lists | Excel Discussion (Misc queries) | |||
How do I save worksheet form data into a table in Excel 2003? | Excel Discussion (Misc queries) | |||
create a data entry form template in Excel 2003? | Excel Discussion (Misc queries) | |||
Clearing Form | Excel Programming |