Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking an Excel Worksheet to Access with Passwords on the Worksheet

Status
Not open for further replies.

riggo44

Programmer
Aug 13, 2007
4
US
I have an access db that has several linked in excel worksheets. To run queries in access off these worksheets the passwords must be logged into the excel worksheets, so bascally the sheet has to be opened. Is there some VB code where access can lookup the passwords to the worksheets?

Thanks
 
Hi rigg,

If I understand you correctly, the passwords are on a seperate worksheet?

If so, then create another link - to the password worksheet, and then treat it like a normal table.

E.G. Tables->New Link and point it to the spreadsheet worksheet.

ATB

Darrylle

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
I really meant to say that I have several separate workbooks each of which has different passwords that are linked to an access db.

When going into access and trying to open one of linked workbooks I am not able to open the file. It gives me the following dialog box...."Could not decrypt file".

Does this make more sense to you?

I appreciate your responce.
 
Relink the tables to the worksheets with the remember password checkbox ticked.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
I am not aware of where you have the option to check the save password option?

Could you point me in the direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top