Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Yan
 
Posts: n/a
Default bypass password when update linking of password protected file

Hi,

I am the administrator of all the password protected file, and I am linking
them to one individual summary file, when I open the file, and I want to
update the link to reflect the most current data, how can I bypass all the
password, so I don't have to type in the password for all the source file?
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Maybe you could create a macro that would open all those workbooks first.

Your macro would supply both the workbook's name and password.

Then after all these workbooks are open, you could open the file that contains
the links.

Kind of like:

option explict
sub auto_open()
dim wkbk1 as workbook
dim wkbk2 as workbook
dim wkbk3 as workbook

set wkbk1 = workbooks.open(filename:="c:\a.xls",password:="one ")
set wkbk2 = workbooks.open(filename:="c:\b.xls",password:="two ")
set wkbk3 = workbooks.open(filename:="c:\c.xls",password:="thr ee")

'wkbk3 is the real one!

wkbk1.close savechanges:=false
wkbk2.close savechanges:=false
'thisworkbook.close savechanges:=false
end sub

(I'd create a 4th workbook that opens the files in order and just closes the
first 2 and then itself.)

Yan wrote:

Hi,

I am the administrator of all the password protected file, and I am linking
them to one individual summary file, when I open the file, and I want to
update the link to reflect the most current data, how can I bypass all the
password, so I don't have to type in the password for all the source file?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
Can one open a password protected Lotus 1-2-3 (wk4) file from Exce FCZ Excel Discussion (Misc queries) 0 January 3rd 05 09:03 PM
File asks to update when no links were created Dave Links and Linking in Excel 1 December 16th 04 08:10 PM
Enter CORRECT password, file doesn't come up? Help Bucksmba Excel Worksheet Functions 3 December 8th 04 07:00 PM
Password error after file opens Pennington Excel Worksheet Functions 2 November 22nd 04 01:15 PM


All times are GMT +1. The time now is 04:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"