Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Jet Ole DB With Excel

How to use Jet Oledb Provider to read data from a protected Excel workbook?

Thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Jet Ole DB With Excel

See Mr. Erlanden's page for some example code:

http://www.erlandsendata.no/english/...odao/index.php

--
Regards,
Tom Ogilvy

cribeiro wrote in message
...
How to use Jet Oledb Provider to read data from a protected Excel

workbook?

Thanks in advance.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Jet Ole DB With Excel

Missed the qualification that the workbook was protected.

Regards,
Tom Ogilvy

"Tom Ogilvy" wrote in message
...
See Mr. Erlanden's page for some example code:

http://www.erlandsendata.no/english/...odao/index.php

--
Regards,
Tom Ogilvy

cribeiro wrote in message
...
How to use Jet Oledb Provider to read data from a protected Excel

workbook?

Thanks in advance.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Jet Ole DB With Excel

You cannot use ADO/DAO to read a password-protected Excel workbook. The
reason is that protecting it with a password actually encrypts the
workbook on disk and ADO/DAO has no way of decrypting it. See the
following MSDN article:

Microsoft Knowledge Base Article - 211378
XL2000: "Could Not Decrypt File" Error with Password Protected File
http://support.microsoft.com/?KBID=211378

"cribeiro" wrote in message ...
How to use Jet Oledb Provider to read data from a protected Excel workbook?

Thanks in advance.

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



All times are GMT +1. The time now is 12:36 PM.

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

About Us

"It's about Microsoft Excel"