Linking to password protected worksheets.

Slapdad

New Member
Joined
Oct 8, 2002
Messages
5
I have 50+ budgets that are all on a server and each has it's own, unique password to keep prying eyes for seeing sensitive payroll information. Several of those locations have positions whose bonus is a function of a sales number for an area or region, which is a roll-up of several budget files. Is there any way to enable certain files to roll-up numbers from a number of password protected files without typing in the password for each file?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
you will need to access the files via vba and unprotect then protect the files inline once your operation is done.

lookup information on protecting and uprotecting spreadsheets.

here is a sample that i use:

Sub ProtectTabbies()
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.Protect "SIMONE", True, True
Next mySheet
End Sub

'Unprotect whole worksheet
Sub UnProtectTabbies()
Dim mySheet As Worksheet
For Each mySheet In Worksheets
mySheet.Unprotect "SIMONE"
Next mySheet
End Sub
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,692
Members
453,132
Latest member
nsnodgrass73

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