Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Error code - Could not decrypt file

Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Error code - Could not decrypt file

Hi Bogdan

See
http://support.microsoft.com/?KBID=211378


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Error code - Could not decrypt file

Thanks, I'll checked it.

"Ron de Bruin" wrote:

Hi Bogdan

See
http://support.microsoft.com/?KBID=211378


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Error code - Could not decrypt file

Hi Ron,

I read the article, but somehow I anticipated this potential cause.

Indeed, the file was password protected, but only for write rights. That's
why I made a copy of this file and I cancelled the password, but problem
persists. If I try to open the file, everything seems normal and no password
is required. Moreover, in this collection of 100 files, there are many other
files with the same type of protection, but I didn't have this problem.

What else could be??? (I have Micrsoft Excel 2003).

Bogdan


"Ron de Bruin" wrote:

Hi Bogdan

See
http://support.microsoft.com/?KBID=211378


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Error code - Could not decrypt file

Hi Bogdan

Sorry, I have no idea


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi Ron,

I read the article, but somehow I anticipated this potential cause.

Indeed, the file was password protected, but only for write rights. That's
why I made a copy of this file and I cancelled the password, but problem
persists. If I try to open the file, everything seems normal and no password
is required. Moreover, in this collection of 100 files, there are many other
files with the same type of protection, but I didn't have this problem.

What else could be??? (I have Micrsoft Excel 2003).

Bogdan


"Ron de Bruin" wrote:

Hi Bogdan

See
http://support.microsoft.com/?KBID=211378


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message ...
Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Error code - Could not decrypt file

If you go into tools=Protection, does it offer the option to unprotect the
workbook. If so, I suspect this is the problem.

--
Regards,
Tom Ogilvy

"Bogdan" wrote in message
...
Hi Ron,

I read the article, but somehow I anticipated this potential cause.

Indeed, the file was password protected, but only for write rights. That's
why I made a copy of this file and I cancelled the password, but problem
persists. If I try to open the file, everything seems normal and no
password
is required. Moreover, in this collection of 100 files, there are many
other
files with the same type of protection, but I didn't have this problem.

What else could be??? (I have Micrsoft Excel 2003).

Bogdan


"Ron de Bruin" wrote:

Hi Bogdan

See
http://support.microsoft.com/?KBID=211378


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Bogdan" wrote in message
...
Hi there,

I'm running a code using ADO (copying data from 100 closed workbook).
Everything is ok, except one file for which a get the following error:

"Run-time error '-2147467259 (80004005)':
Could not decrypt file"

I pushed Help button, but the help page is empty.

Any ideas for this annoying error?

Many thanks in advance,

Bogdan






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


Similar Threads
Thread Thread Starter Forum Replies Last Post
File encrypted in Excel format. How to decrypt the file? Chuck Excel Discussion (Misc queries) 5 April 3rd 09 04:37 PM
how can i decrypt the Excel file after reinstall windows system? db_mobile[_2_] Excel Discussion (Misc queries) 0 June 8th 07 01:40 AM
how can i decrypt the Excel file after reinstall windows system? db_mobile Excel Discussion (Misc queries) 0 June 6th 07 03:36 AM
file decrypt ? mostakimm Excel Discussion (Misc queries) 1 June 14th 05 10:22 PM
"Could not decrypt file." error on non-password protected file Jo[_7_] Excel Programming 0 September 14th 04 12:14 PM


All times are GMT +1. The time now is 09:07 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"