Solved

2003 excel error after an update, file is corrupt and cannot be recovered

Posted on 2008-06-23
6
145 Views
Last Modified: 2013-11-25
I have an application developed with vb.6 that has excel 97 2000 and 2003 capabilities.  Recently after an automatic update, evry time I extract a file in excel format within my application and then open this excel file on the desktop, it says that the file is corrupt and cannot be recovered.  is there a fix for that strictly for vb6 applications, maybe a dll or ocx file that gets unregistered or is deleted.

thank you very much
0
Comment
Question by:systems_ax
[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
  • 3
  • 3
6 Comments
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 21863389
is it files saved in all XL versions ?

From what do you extract the XLS file ?
0
 
LVL 1

Author Comment

by:systems_ax
ID: 21871462
robberbaron,
thank you for replying.
the report can be extracted with all versions of excel except 2007.  the application itself has the ability to extract the report as a excel document which works great but every time a microsoft office update occurs, the excel file shows as being corrupted after it has been extracted.
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 21889496
it may be the VB app is accessing the report via ADO.
the ADO connection string can have excel version specific parameters.  if this is the case, then the app would need to be updated i suspect.

if you extract using app, does the created XLS file open on other boxes using same or different version of excel ?
Excel is very good with backward capabilites in my experience. (running 2007 currently)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:systems_ax
ID: 21959069
robberbaron,
is there a way to fix the issue without altering the code?  excel files to extract great and work on the machines, however, when a microsoft update occurs on any machine the extraction fails.
thank you
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 21961635
without seeing the current app & having the error occur in front of me, i am not capable to working out the root cause of the error & thus not able to help fix.

Is it a particular update that caused the error ?
0
 
LVL 1

Author Comment

by:systems_ax
ID: 22026749
robberbaron,
thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

617 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