dbTalk Databases Forums  

Open Password Protected Excel Files with a DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Open Password Protected Excel Files with a DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ricardo Silva
 
Posts: n/a

Default Open Password Protected Excel Files with a DTS - 01-26-2004 , 06:01 AM






Hi guys
how can i open password protected excel files, with a DTS? Can someone give a clue?
Thanks

Ricardo

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Open Password Protected Excel Files with a DTS - 01-26-2004 , 10:34 AM






In message <9F0EFB75-16A0-45F5-AE7F-E3F30BB6EF12 (AT) microsoft (DOT) com>, Ricardo
Silva <anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Hi guys,
how can i open password protected excel files, with a DTS? Can someone
give a clue?
Thanks!

Ricardo
This cannot be done outside of Excel.

HOWTO: Use ADO with Excel Data from Visual Basic or VBA
http://support.microsoft.com/?kbid=257819

"You Cannot Open a Password-Protected Workbook

If the Excel workbook is protected by a password, you cannot open it for
data access, even by supplying the correct password with your connection
settings, unless the workbook file is already open in the Microsoft
Excel application. If you try, you receive the following error message:

Could not decrypt file.
For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
211378 XL2000: "Could Not Decrypt File" Error with Password Protected
File "



XL2000: "Could Not Decrypt File" Error with Password Protected File
http://support.microsoft.com/default...b;EN-US;211378



--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.