Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How To: Check if a cell value has changed
Hi,
I have a workbook that contains 3 locked sheets, users can only add data to the sheets via a data entry form. On my menu list I've added a button that turns on and off the Auto Filter, and I turn on and off the sheet protection when row one is selected, the procedure that turns on and off the sheet protection is in the SheetSelectionChange() of my class module that is set to Application. My dilema is that I don't want users to change the column widths or the contents or in fact make any change to sheet while protection is disabled, all they should do is just select the appropriate AutoFilter, but user may press a key by accident. I know I can write code to put the entire sheet and the contents of row one (Headers) to what they should be, but I was wondering of the was a way to use something like a procedure call Cell_Exit thus I can see if the cell.row is 1 and if the contents have change the cell.value = cell.oldvalue cell.columnwidth = 10 etc. TIA regards KM |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy and move check box (check boxes) with new cell link? | Excel Worksheet Functions | |||
Format changed when the details in cell changed | Excel Worksheet Functions | |||
Check if Conditional Format is True or False / Check cell Color | Excel Worksheet Functions | |||
How can I check if data in an external data range is changed afte. | Excel Worksheet Functions | |||
How can I check if data in external data range is changed after re | Excel Discussion (Misc queries) |