Excel Passwords

Donald

Board Regular
Joined
Apr 15, 2002
Messages
138
If I have an Excel Workbook and I have six people sharing the same workbook, is there any way I can set permissions so they each control certain pieces of the workbook so the objective is when one person is in the workbook he or she can only change her info and not others.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
If its shared over a network then you could look into protecting or unprotecting certain worksheets based on the username, something along the lines of;

Code:
Dim User As String
User = Environ("username")
If User = "JazzSP8" Then
Sheet1.Unprotect (PASSWORD)
Sheet2.Protect (PASSWORD)
End If

Place something like that the ThisWookbook module, it works for me on one of my spreadsheets... :)
 
Upvote 0
Looked at this and it look slike something that would be very usefull but not too good on vba any chance you could explain why it works ive tried copying it in but not worknig. Does it ony work on a network ?
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top