Protecting links to shared drives

vavs123

New Member
Joined
Oct 14, 2002
Messages
10
We have a workbook which resides on a shared drive. Unless you have the password you cannot update the workbook. The problem occurs when someone makes a change to the workbook and saves the file. The link associated with the row that is updated will change from the full path name to ../xyz.doc where xyz.doc is the balance of the path that is different from the workbook's path. Is there a way to prevent this from occurring? When the workbook is copied down to the local drive, the links become inoperable. Any suggestions?
 

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.

vavs123

New Member
Joined
Oct 14, 2002
Messages
10
I have found the answer to the question. In the macro code include the line:

Application.DefaultWebOptions.UpdateLinksOnSave = False
 

Forum statistics

Threads
1,144,330
Messages
5,723,738
Members
422,512
Latest member
MHau5

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
Top