Problems opening excel

  • Thread starter Thread starter Lesia
  • Start date Start date
L

Lesia

I'm running Excel 2002 with Window XP and I'm running into
the same problem daily. Usually I open an excel document
(shared with others through a network), do what I need to
do with it and then close it. If I go to open it again
later it takes a very long time to open...30 or 40 seconds
(if it opens at all) If it opens and I close it down
again and try to open it later I usually get an error
message that says it cannot access the file. The only way
to get the file open after that is to reboot. It just
seems like the more I use the file the longer it takes to
open each time, if it opens at all. Any idea what's going
on here? Thanks!
 
Lesia wrote...
I'm running Excel 2002 with Window XP and I'm running into
the same problem daily. Usually I open an excel document
(shared with others through a network), do what I need to
do with it and then close it. If I go to open it again
later it takes a very long time to open...30 or 40 seconds
(if it opens at all) If it opens and I close it down
again and try to open it later I usually get an error
message that says it cannot access the file. The only way
to get the file open after that is to reboot. It just
seems like the more I use the file the longer it takes to
open each time, if it opens at all. Any idea what's going
on here? Thanks!

Lesia,

Wild guess...maybe file is corrupt.

Try this and please report back (success or no success)...

- Open the file
- Save-as filetype Webpage
- close the file
- Open the html file
- save-as normal Excel workbook.

I look forward to learning if this solution worked for you.

Best regards,
Kevin
 
Kevin,

Thanks! It seems like your solution is working. I tried
it with two of the excel files that I've been having
trouble with and they seem to be working.

Thanks for your help with this!
 
Lesia wrote...
Kevin,

Thanks! It seems like your solution is working. I tried
it with two of the excel files that I've been having
trouble with and they seem to be working.

Thanks for your help with this!
Lesia,

I am glad you managed to slay the fire-breathing dragon.

Thank you for coming back and reporting your success.

Best regards,
Kevin
 
Kevin,

I spoke too soon. I'm still having trouble with the
file. I'll try the solution you sent again and see if it
works. Thanks! I'll report back.

Lesia
 
It seems it works for a very short time and if I close out
of excel and try to go back to the file in say 1/2 an
hour, it takes a long time to open and then if I go back
again it says it access is denied. The only fix is to
reboot and that's just temporary too. The more times I
open the file, the worse it gets.
 
Lesia...
It seems it works for a very short time and if I close out
of excel and try to go back to the file in say 1/2 an
hour, it takes a long time to open and then if I go back
again it says it access is denied. The only fix is to
reboot and that's just temporary too. The more times I
open the file, the worse it gets.

Try sending me the file and I will see if I can spot anything.

(e-mail address removed)

I will also enclose some notes below that I have gathered along the way with
regard to corrupt files. Some of the information might be reptitive.
Whenever I found something interesting, I merely appended the information to
my current file.

Best regards,
Kevin

========================================
Title: Corrupt File

Created On: 3 April 2004

By: Kevin Stecyk, Jan Karel Pieterse, Norman Harker

Keywords: Excel, corrupt, file

========================================

Your file might be corrupted. Try the following:

- Save the file as filetype webpage (html)
- close and reopen the html file
- save-as normal excel workbook

Also, you should download Rob Bovey's VBA code cleaner. You can find it
here:
http://www.appspro.com/utilities/Cleaner.asp

Running the code cleaner will often signficantly reduce your file size.

Let us know how it works out.

Best regards
Kevin


****************************************************************************
**
Options to try and open a corrupt file

- Set calculation to manual
- open the file, but disable macros (assuming you've set macro security
to medium: Tools, Macro, security)
- As soon as you've clicked the disable macros button, press
control-pageup or control-pagedown, thus changing sheets.

If that does not work, try creating a link to the file:

='c:\my documents\[MyFileName.xls]Sheet1'!A1

and copy right and down. This at least gets you the worksheets values.

if you don't know the sheet names, enter this:

='C:\PathToFile\[MyFileName.xls]'!A1

and press enter

If XL (2000) is able to extract them, it will prompt you for a sheet
name.

Sometimes the Excel viewer, Word or even Internet explorer (v5) enables
you to open the file and copy information out of it.

If the file is not protected, maybe you can open it with OpenOffice
(www.Openoffice.org).

Also, Excel XP can sometimes repair XL files with trouble.

Finally, sometimes a corrupt file that still can be opened,
can be cured using this method (XL2000 or up):

- Open the file
- Save-as filetype Webpage
- close the file
- Open the html file
- save-as normal Excel workbook.


Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com


Hi,

Options to try and open a corrupt file

- Set calculation to manual
- open the file, but disable macros
- As soon as you've clicked the disable macros button,
press control-pageup or control-pagedown, thus changing
sheets.

If that does not work, try creating a link to the file:

='c:\my documents\[MyFileName.xls]Sheet1'!A1

and copy right and down. This at least gets you the
worksheets values.

Sometimes the Excel viewer enables you to open the file
and copy information out of it.

Also, Excel XP can sometimes repair XL files with trouble.

Lastly: Download the office suite from www dot sun dot com
slash staroffice (awkward spelling to hopefully avoid
another autodeletion of posting...) it's a killer app for
file recovery.



Regards,

Jan Karel Pieterse
Excel TA/MVP

Here's the post to public.excel

Here's a resource post on recovery of corrupted files. I've checked out all
the links referred to. Additional comments and suggested additions are
welcome. Some of the most frantic and desperate posts come for this and they
are frequently in tears of happiness when they get a solution.

These points cover corrupted files. Don't confuse these with problems with
slow opening, processing or closing of Excel or with Excel crashing out with
a particular file. They are usually different issues. Here we cover a case
where Excel is normally singing sweetly but with one file we get all sorts
of rude messages and just can't open it.

1. a. You can try opening with Excel 2002 (XP) which has a good record for
opening files that earlier versions regard as corrupted.



This has a very high success rate.



1.b. If a 'normal' open doesn't do the trick use:



File > Open

Select the File

Click the drop down arrow on the Open button

Select Open and Repair



Some have reported success with that Open and Repair facility that wasn't
achieved with a 'normal' open.

2. You can try a do it yourself recovery of the data but not the formulas by
opening a new workbook and trying to access cell by cell using

='C:\My Documents\Excel\[Lost File Name.xls]Sheet'1!A1

Careful with the punctuation. Copy down and across.

Off to Sheet2....(Swear on Excel Bible 2002 that you'll back up in future).



At least this method, if successful will get your data back.

3. Then there's some commercial software. I got these from:

http://downloads-zdnet.com.com

Click on Business and then Spreadsheets.

a. Excelfix.exe is from

http://www.excelfix.com
Free trial $89 to buy (1.91MB)

Description: ExcelFix recovers cell data from corrupted Microsoft Excel
files, including versions 95, 97, and 2000. It extracts texts, numbers, and
formulas from the damaged file. Files with damaged OLE containers are
recovered. This updated version of the demo will now show a larger number of
cells: 600 cells per file or 150 cells per sheet. There is now an option
that allows saving the recovered file in several CSV text files. And you can
diagnose files in OLE mode where the OLE structure is partially damaged.


b. ExcelRecovery 3.0.02 from:

http://www.officerecovery.com
Free trial $149 to buy (799K)

Description: ExcelRecovery fixes corrupted Microsoft Excel spreadsheet
files. It supports all modern file versions, including Excel XP, Excel 2000,
Excel 97, Excel 95, and Excel 5.0. It recovers cell data, text and numbers
as well as formulas; restores formatting; restores structure of multisheet
files; and the new ExcelRecovery is capable of recovering corrupted files
with password protection (if the password is known) and restoring worksheet
names.

c. Excel Viewer for Excel 97/2000 from:

http://www.microsoft.com/downloads/
Free (3.72MB)

Description Reported to allow recovery of data from corrupted files.
Microsoft Excel 97/2000 Viewer is a standalone program that is available
from Microsoft, free of charge. You can use Microsoft Excel 97/2000 Viewer
to view, copy, zoom, and print Microsoft Excel 97 and Microsoft Excel 2000
files (Microsoft Excel versions 2.0 and greater for Windows and Microsoft
Excel versions 2.2a and greater for the Macintosh are also supported).
Microsoft Excel viewer also includes an AutoFilter feature that is similar
to the AutoFilter feature in Microsoft Excel.


4. The following allow you to send Excel Files that they recover for you (at
a cost). Diagnostic is free. No recovery - no fee. Otherwise it's going to
cost you $50 - $800 for not backing up (and you're going have to find a way
to disguise that so your boss doen't know!)

http://www.excelwordrecovery.com/


5. Microsoft has a summary of methods to recover files in three very similar
Knowledge Base Articles:

Excel 98 and earlier: Microsoft Knowledge Base 142177
http://support.microsoft.com/default.aspx?scid=KB;EN-US;142117
XL: Summary of Methods to Recover Data from Corrupted Files

Excel 2000: Microsoft Knowledge Base 179871
http://support.microsoft.com/default.aspx?scid=kb;en-us;179871
XL2000: Methods for Recovering Data from Damaged Workbooks

Excel 2002: Microsoft Knowledge Base 291057:
http://support.microsoft.com/default.aspx?scid=kb;en-us;291057
XL2002: Methods for Recovering Data from Damaged Workbooks

Here's a summary of their methods:

a. 147216 XL: Linking to Data in a Damaged File (5.0 and Later)

b. 45557 Handling Corrupted Excel Files by Saving in the SYLK Format

c. Use the Revert To Saved Document Command to Recover Data

d. 137016 XL: Macro to Extract Data from a Chart

e. Use the Microsoft Excel 97 File Recovery Macro to Recover Information
(Excel 97 only) (This involves download of recover.exe from Microsoft
Download Centre. There's a copy in the form of Cleaner.xla on the Office
Resource Kit compact disc but you need the "Office 97 Resource Kit" book.

f. If you have the Microsoft Excel converter installed, you may be able to
open your Microsoft Excel workbook in Microsoft Word.

g. You can also open your Microsoft Excel workbook in WordPad. If the file
does open, you may be able to recover Visual Basic code in your modules and
class modules. Search for the words "Sub" or "Function" to find your code.

h. Open the File in Microsoft Excel Viewer (See above)

i. Set the Recalculation Option to Manual Before Opening the File



6. There's a free workbook re-builder available from:

http://www.vbusers.com/downloads/download.asp


7. Tom Ogilvy has posted the following links to "Yours, in desparation".
I've checked these out and amended for the new knowledge base numbering
system. There were more but one is gone and others link to
the first one (referred to above).



http://support.microsoft.com/default.aspx?scid=KB;en-us;142117
XL: Summary of Methods to Recover Data from Corrupted Files



http://support.microsoft.com/default.aspx?scid=KB;en-us;147216
XL: Linking to Data in a Damaged File (5.0 and Later)

http://support.microsoft.com/default.aspx?scid=KB;en-us;142116

Files Corrupted on Save: How to Troubleshoot Source of Problem


But an ounce of prevention is worth 0.453592309748811 kg of cure!

8. How to back-up, what to back-up etc is covered at:

http://www.mvps.org/dmcritchie/excel/backup.htm


9. There's always using AutoSave:

In Excel 2002 it's settings are in:
Tools > Options > Save
Check that you want it and adjust time to taste
OK

Before Excel 2002 you need to have the AutoSave Add-In Installed and
selected:

Tools > Add-Ins
check "Auto-Save Add-in"
OK

Thereafter the settings appear under the Tools Menu

If Auto Save Addin has not been used before, you may need the Office or
Excel Installation CD. I can't recall if with pre Office 2000 this was in
the standard install or whether it is in Custom. If the latter, you'll need
to re-run the install and select it.

10. For those who want a much better auto save utility:

Jan Karel Pieterse MVP has just released Version 3.0 of his AutoSafe Utility
and that's much better than the Excel on board one. Available from:



http://bmsltd.co.uk/MVP/



Or find it in the CompuServe Office forum:

http://forums.compuserve.com/vlforums/default.asp?SRV=MSOfficeForum&LOC=US



11. Finally, there's the principle causes of corruption which are working
from files on Floppy discs. Solution to this cause is easy: "Don't work from
floppy disc!"

Always:
Copy from floppy to hard drive,
Load from hard drive,
Work on file,
Save to hard drive,
Copy from hard drive to floppy.

Microsoft barely acknowledge this in a hard to locate tip:

Secret #28
http://support.microsoft.com/default.aspx?scid=/support/Excel/Content/CoolTips/cool.asp#E10E28

Bookmark it! You'll never find it again without Google. Thanks to Debra
Dalgleish who found it again recently. I suspect that this is the most
common cause of corruption.

To those who've needed to read this, Good luck in recovering your file.
Please report back to the Newsgroup with the details of your successes and
failures. It will help others with similar problems in the future.

--
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
 
Back
Top