Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2008-06-23
6
Medium Priority
?
149 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
  • 3
  • 3
6 Comments
 
LVL 33

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 33

Accepted Solution

by:
Robberbaron (robr) earned 2000 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 33

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Usually, rounding is performed by some power of 10 - to thousands, hundreds, tens, or integer - or to one, two, or more decimals. But rounding can also be done to a power of two, say, 16 or 64, or 1/32 or 1/1024, even for extreme values.
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…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

595 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