PC Review


Reply
Thread Tools Rate Thread

bypass password when update linking of password protected file

 
 
=?Utf-8?B?WWFu?=
Guest
Posts: n/a
 
      7th Feb 2005
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?
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      7th Feb 2005
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:="three")

'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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass hold shift in password protected db Diogo Microsoft Access 1 8th Oct 2008 08:16 PM
ByPass Password protected code Jim Pan Microsoft Access VBA Modules 3 10th Dec 2007 11:10 PM
Personal folder file is password-protected after Microsoft Update =?Utf-8?B?UmljaGFyZCBHb29kY2hpbGQ=?= Microsoft Outlook Discussion 1 18th May 2007 02:10 PM
RE: Personal folder file is password-protected after Microsoft Update =?Utf-8?B?Sy4gT3JsYW5k?= Microsoft Outlook Discussion 0 28th Mar 2007 01:15 AM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Microsoft Excel Worksheet Functions 0 23rd Jun 2005 11:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:42 PM.