Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi Freinds
A protected worksheet with some unlocked cells which allowed users to input data. Once it is inputted, how could we control the subsequent editing of these cells only by authorised personnel/password? Thank you. |
#2
![]() |
|||
|
|||
![]()
You could use a sheet event to lock cells once they have been edited. Right
click the sheet tab and select View Code. Paste this macro onto the code module for the sheet and change the password as required. Private Sub Worksheet_Change(ByVal Target As Range) ActiveSheet.Unprotect Password:="mypassword" Target.Locked = True ActiveSheet.Protect Password:="mypassword" End Sub Hope this helps Rowan "zhj23" wrote: Hi Freinds A protected worksheet with some unlocked cells which allowed users to input data. Once it is inputted, how could we control the subsequent editing of these cells only by authorised personnel/password? Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protecting Workbook | Excel Discussion (Misc queries) | |||
Help adding text values | Excel Worksheet Functions | |||
How do I edit, copy and paste text in excel cells? | New Users to Excel | |||
To safety merge cells without data destroyed, and smart unmerge! | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |