Hi,
it works fine but could it be possible to bypass the password if I've set in
file B?
Thanks in advance,
Clara
>The only way you will get file B to contain up to date data is to open
>it. You could have file A open and close file B on startup.
[quoted text clipped - 22 lines]
>MVP - Microsoft Excel, Oxford, England
>No email replies please - respond to newsgroup
Bill Manville - 23 Sep 2006 17:22 GMT
Clara via OfficeKB.com wrote:
> it works fine but could it be possible to bypass the password if I've set in
> file B?
Sorry for late reply.
Sure - you can specify a password with Workbooks.Open:
Workbooks.Open ThisWorkbook.Path &"\FileB.xls", Password:="MyPassword"
Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup