Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello Gord,
Thanks for your info. Kind Regards Low A36B58K641 "Gord Dibben" wrote: You cannot password individual cells as you describe. You could employ sheet_activate code that would check the log-in name to see which user has the file open. Each user would then have a certain set of cells they could alter in a protected worksheet. Private Sub Worksheet_Activate() With Sheets("Sheet1") ..Activate ..Unprotect Password:="justme" ..Cells.Locked = True End With Select Case Environ("UserName") Case "Tommy": Range("B2:B4").Locked = False ActiveSheet.EnableSelection = xlUnlockedCells Case "Jimmy" Range("C2:C4").Locked = False ActiveSheet.EnableSelection = xlUnlockedCells Case Else MsgBox "Not authorized to make changes" End Select ActiveSheet.Protect Password:="justme" End Sub You then protect the VBAProject with a password so the code is unviewable. Gord Dibben MS Excel MVP On Tue, 26 Jun 2007 07:56:00 -0700, Mr. Low wrote: Dear Sir, Lets consider the folowing worksheet example: Tommy prepares a budget and submit it to Jimmy for reviewing. The budget is finally approved by Sally. All these are done in an Excel worksheet as follows: A B 1 USD 2 Budget Sales : 2,500,000 3 Budget Cost : 1,800,000 4 Budget Profit : 700,000 10 Prepared by : Tommy 11 Reviewed by : Jimmy 12 Approved by : Sally May I know how could Tommy write protect his figures in cell B2:B4 by using his own password ? If Tommy need to change the figures what are the keyboard steps ? The password that Tommy used is it different in each cell, or same throughout the a single Excel file or the whole Excel program itself ? What he need to do to change the password ? As the document is passed around, can Jimmy and Sally acknowledge at B11 and B12 with their own passwords ? Thanks Low |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I password protect a workbook in Excel? | Excel Discussion (Misc queries) | |||
How can I password protect specific cell ranges in Excel? | Excel Discussion (Misc queries) | |||
How do I protect a single cell in Excel 2002? | Excel Discussion (Misc queries) | |||
Password protect cell ranges NOT sheet | Excel Discussion (Misc queries) | |||
How to password protect a cell but still be able to sort ? | Excel Worksheet Functions |