Solved

How to Link password protected Excel File as a Table in MS Access

Posted on 2006-10-26
7
1,123 Views
Last Modified: 2012-05-05
Hello,

Title of my questions says all.

I have a password protected Excel file and I would like to link this file to MS Access table.

I can link unprotected Excel file.  But Excel file with password gives me some wiered error message.

Please help
0
Comment
Question by:Jagdish_Bodani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 15

Accepted Solution

by:
MNelson831 earned 63 total points
ID: 17815490
I do not think that this can be done.  Also, I suspect that an answer to this question would violate EE's TOS agreement regarding efforts to defeat security measures.  Sorry
0
 
LVL 15

Expert Comment

by:MNelson831
ID: 17815498
I do think that you can link to the file if it has already been opened, but that is rarely useful.  If you have to open the file everytime that you want the database to connect to it then the purpose of having a linked table is usually moot.
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 62 total points
ID: 18034685
Jagdish_Bodani,

MNelson831 is correct...
Can't be done.
http://support.microsoft.com/kb/257819
(MNelson831, I thought I could sneak around this by using ADO, but no such luck!)
:(


Jagdish_Bodani, your only options would be to unprotect the Excel file or to dump Excel altogether, and use Access.
0
 

Expert Comment

by:GenevaITguys
ID: 34961240
There should still be a way to link using the password. If you have the password, the access is most probably valid, no ?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34961553
GenevaITguys,

Again, the ADO code will link to the Excel file, but the text in the link clearly states:
<On the Connection tab, browse to your workbook file. Ignore the "User ID" and "Password" entries, because these do not apply to an Excel connection.  You cannot open a password-protected Excel file as a data source...>

http://support.microsoft.com/kb/257819

I quickly researched using DAO, but I did not find a direct way to do this either.

So as with anything,...
There may be a way, ...I just can't find one.

;-)

JeffCoachman

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question