Excel 97 crash: "Memory could not be read"

  • Thread starter Thread starter DG
  • Start date Start date
D

DG

Hi,
I was working with an excel file with VBA macros as well
as numerous links to other files.

This file suddenly crashed with the message:
The instruction at "xxxx" referenced memory at "xxxx". The
memory could not be "read".

Everytime i try to open this file now excel crashes with
the same message

Have read elsewhere this could be a VBA problem, but it
occurs even when i disable macros. Also i do not get
the "cannot use OLE" message at excel startup.

Help please!
DG
 
Hi Dg,
This file suddenly crashed with the message:
The instruction at "xxxx" referenced memory at "xxxx". The
memory could not be "read".

You tried some things already, but maybe one of these helps:

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
 
Back
Top