Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Need a worksheet where data can be entered but, once it is entered can not be
changed. The purpose of this is for accountability. Example: If you enter a customers name on a worksheet and an amount of money they owe you should not be able to delete/dhange that data in the future but only add additional data to the worksheet. |
#2
![]() |
|||
|
|||
![]()
Hi Jeff
Private Sub Worksheet_Change(ByVal Target As Range) On Error Resume Next ActiveSheet.Unprotect Target.Locked = True ActiveSheet.Protect End Sub Try this event in a sheet module First change locked in all cells in the worksheet select the cells and press Ctrl-1 and uncheck locked on the protection tab -- Regards Ron de Bruin http://www.rondebruin.nl "Jeff Hall" <Jeff wrote in message ... Need a worksheet where data can be entered but, once it is entered can not be changed. The purpose of this is for accountability. Example: If you enter a customers name on a worksheet and an amount of money they owe you should not be able to delete/dhange that data in the future but only add additional data to the worksheet. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort pages? | Excel Discussion (Misc queries) | |||
trying to create an (almost) circular formula between cells and data validated cells with lists | Excel Worksheet Functions | |||
Protecting Workbook | Excel Discussion (Misc queries) | |||
populate cells with data from another sheet | Excel Worksheet Functions | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |