Can you have multiple levels of protection on a worksheet?
While I understand how to create a worksheet where so cells are locked and other are not, I am wondering if you can have two different levels of protection on the same worksheet.
I have a file where multiple people will need to input their data into their own specific sheet. Within that sheet there are lines with subtotals. I currently have them set to lock with the worksheet protection on. This allows them to enter data but not
adjust the subotals lines.
I want to add another level of security/password so the people inputting the data can only access their sheet. If I set individual passwords doe each sheet, when they unlock their own sheet, they also unlock the protection on the
subtotals.
Basically I have cost center 1,2,3,4,5 where I want 1 to have access to only 1, 2to only 2and so on. I just do not want to drop the protection on the subtotals line.
I probaby have confused eveyone, but I thought I would try.
Solutions to the Problem Can you have multiple levels of protection on a worksheet?
While I understand how to create a worksheet where so cells are locked and other are not, I am wondering if you can have two different levels of protection on the same worksheet.
I have a file where multiple people will need to input their data into their own specific sheet. Within that sheet there are lines with subtotals. I currently have them set to lock with the worksheet protection on. This allows them to enter data but not
adjust the subotals lines.
I want to add another level of security/password so the people inputting the data can only access their sheet. If I set individual passwords doe each sheet, when they unlock their own sheet, they also unlock the protection on the
subtotals.
Basically I have cost center 1,2,3,4,5 where I want 1 to have access to only 1, 2to only 2and so on. I just do not want to drop the protection on the subtotals line.
I probaby have confused eveyone, but I thought I would try.
Copy/paste this code in ThisWorkbook code module:
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Dim v As Variant
Dim bln As Boolean
If Sh.Name = "Sheet1" Then Exit Sub
v = Application.InputBox("Insert password")
If Sh.Name = "Sheet2" And v = "abc" Then
bln = True
ElseIf Sh.Name = "Sheet3" And v = "xyz" Then
bln = True
Else
bln = False
End If
If bln = False Then
MsgBox "Operation is not allowed." & vbNewLine & _
"Select " & Sh.Name & " and enter the correct password."
ThisWorkbook.Worksheets("Sheet1").Select
End If
End Sub
Select Sheet1 and then Sheet2 or Sheet3.
Mauro Gamberini - Microsoft© MVP(Excel)
http://www.maurogsc.eu/
To install drivers and other optional updates
- To install optional updates, you need to review and then select them from the list of updates that Windows finds for your computer. Optional updates are not installed automatically.
- Open Windows Update by clicking the Start button Picture of the Start button, clicking All Programs, and then clicking Windows Update.
- In the left pane, click Check for updates, and then wait while Windows looks for the latest updates for your computer.
- If any updates are found, click View available updates.
- Select the optional updates that you want, and then click Install. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Recommended Method to Fix the Problem: Can you have multiple levels of protection on a worksheet?:
How to Fix Can you have multiple levels of protection on a worksheet? with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your computer. Open it, and it will scan your system. The junk files will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: How to Download Toshiba Satellite A205-S5833 Supervisor Password Utility v.1.48.0.8C r2 driver,How to Download Toshiba Satellite C675-S7104 Laptop Checkup v.2.0.13.11 driver,How Can I Update & Download Toshiba Satellite L655-S5117 Face Recognition v.3.1.3 driver,Method to Update & Download Toshiba Satellite L845D-SP4328KL Atheros LAN Driver v.2.1.0.5,How to Update & Download Toshiba Satellite R930 Network Device ID Registry Setting Tool v.3.0.32.4 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: [Anwsered] Can I retrofit Vista on Win 8 machine?,How Can You Fix - Can I scan file into computer and save fonts and spacing??,How to Fix Problem - Can not access Control Panel or Sub Panels?,Solution to Error: Can you please tell me where 2 find the incoming mail and outgoing mail server names? (pop3 or IMAP) (SMTP)__I am trying to send a e-mail.,How to Fix Error - Can the \"Stupid\" delete icon be removed from the \"Smart\" address bar??,Can I safely remove earlier versions on my pc,Can I rotate a graph so it shows on my page sideways?,Can I safely ignore Office file validation alert message?,Can I send a JPEG file in a PDF form ?,can I review when my computer has been accessed from outside my home?
No comments:
Post a Comment