Problems with Protected Cells & Links

pgerardi

Board Regular
Joined
Aug 19, 2002
Messages
59
I currently send out files to inviduals where the majority of cells are locked, the only ones that are unlocked are for data entry. Within these files there are links. I email these files out to the individuals and they in turn complete and return. The problem is with my links. When the files are returned the links are changed from what I have on my file (location on network drive) to wherever they saved and worked on (eg their c drive) thus breaking my link. Is there a way to prevent this from happening?

Thanks for your time!
 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
In a word No unfortunately.

One solution is:

Don't e-mail the workbooks but keep them in a central folder where all can access then just send them the link.

Other than that you will have to use the Edit Links to change the source back once they are returned.
 
Upvote 0
Thanks, thats what I was afraid of. Just a pain to unprotect all of the sheets, make changes and protect them again. Unfortuantely cannot do a central folder.
 
Upvote 0
Try this in a module makes life a little quicker:

Attribute VB_Name = "Protection"
Dim Shts As Worksheet
Private Sub UnProtectAllSheets()
'Unprotects ALL worksheets
Application.ScreenUpdating = False
For Each Shts In ThisWorkbook.Worksheets
Shts.Unprotect Password:="XXX"
Next
Application.ScreenUpdating = True
End Sub

Sub ProtectAllSheets()
'Protects ALL worksheets
Application.ScreenUpdating = False
For Each Shts In ThisWorkbook.Worksheets
Shts.Protect Password:="XXX"
Next
Application.ScreenUpdating = True
End Sub
 
Upvote 0
Thanks, unfortuantely I get an error theats says

Compile error:
syntax error
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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