Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Can I protect cells from being edited after a user has entered information? I am using a macro for the user to enter their name in to a cell see below: Sub Ang() ' ' Ang Macro ' Macro recorded 16/02/2006 by stapen ' ' ActiveCell.FormulaR1C1 = "Angela" Selection.Locked = True Selection.FormulaHidden = False End Sub The problem I have got is that the worksheet is protected, so it won't protect the cell. But I don't want to unprotect the whole worksheet. I don't want users to be able to overwrite information other users have already entered. ![]() -- alexandra60 ------------------------------------------------------------------------ alexandra60's Profile: http://www.excelforum.com/member.php...o&userid=31215 View this thread: http://www.excelforum.com/showthread...hreadid=513560 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Alexandra,
you can unprotect right before your actions and protect immediately afterwards ActiveSheet.Protect ActiveCell.FormulaR1C1 = "Angela" Selection.Locked = True Selection.FormulaHidden = False ActiveSheet.Unprotect Does this help? Kostis Vezerides |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
protect specific cell but allow edit on other cell | Excel Worksheet Functions | |||
copying cell names | Excel Discussion (Misc queries) | |||
Cell color based upon cell value | Excel Discussion (Misc queries) | |||
Protect Cell Formatting | Excel Worksheet Functions | |||
protect cell | Excel Worksheet Functions |