Update Links from a password encrypted workbook

leirbag

New Member
Joined
Sep 19, 2008
Messages
5
Hi,
I want to update the links in a master workbook (I & GGAA - 1.10.1 (P).xls) that points to 10 password encrypted workbooks. Every time i open the master it asks me for the password. Is there a way to make it update automatic?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

<o:p></o:p>
I got this code, but it doesn´t work:<o:p></o:p>
Workbooks.Open "D:\Documents and Settings\jgarcia\Desktop\MM\Presupuesto\1.8 Gerencia Recursos Humanos\Auxiliar\Gastos de Personal - 1.8 (P).xls", Password:="mm1273", WriteResPassword:="mm1273",UpdateLinks:=0 <o:p></o:p>
<o:p> </o:p>
THe workbook is not protected, the file is password encrypted.... the same person who can see the master, cannot see the slave.<o:p></o:p>
<o:p> </o:p>
Thanks<o:p></o:p>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
i got this code,,, what is wrong???


Sub TestPassword()
Workbooks.Open Filename:="D:\Documents and Settings\ino\Desktop\MM\Pres\1.8 G. R. H.\Auxiliar\GP - 1.8 (P).xls", UpdateLinks:=3, _
Password:="magna1273"
Workbooks.Open Filename:="D:\Documents and Settings\ino\Desktop\MM\Pres\1.1 A. G.\GGAA - 1.1 (P2).xls", UpdateLinks:=3
Workbooks("D:\Documents and Settings\ino\Desktop\MM\Pres\1.8 G. R. H.\Auxiliar\GP - 1.8 (P).xls").Close
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,977
Messages
6,175,753
Members
452,667
Latest member
vanessavalentino83

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