Solved

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

Posted on 2008-06-23
6
142 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 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel cell formatting 5 27
Generate a certain future date depending on current cell date. 15 29
Excel Cell Total 3 20
Request to review costing formula 3 33
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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…

770 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