LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc

Hello

I had a problem with my Excel 97 spreadsheet causing this error. I had
macros in the spreadsheet - when I selected Do Not enable macros when I
opened the spreadsheet the problem went away (but obviously I lost the macro
functionality!).

Does anyone have any tips on avoiding these memory access errors?

I am not sure if this solved it but I had an event function which seemed to
crash on this line:

if m_bEvents = false then exit sub

I had declared m_bEvents like this:

Dim m_bEvents

I changed to Dim m_bEvents As String which seemed to get rid of the problem.
However, for a test I put back to just Dim m_bEvents and the error didn't
re-appear. so I was confused.

I also changed the name m_bEvents to m_bTriggerEvents in case m_bEvents was
an Excel reseved variable.

Any clues as to why I experienced this problem?

Angus Comber




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
The Instruction at "0x749860a0" referenced memory at "0x00000000" Tribeca Excel Discussion (Misc queries) 1 July 5th 08 12:41 AM
Very Wierd Execl "Memory" problem Pat Excel Discussion (Misc queries) 3 October 26th 06 03:39 PM
Bogus "Out of memory" Warning in VBE? Lysander Stark Excel Discussion (Misc queries) 0 August 28th 06 07:50 PM
"Not Enough Memory" new macros problem Gretchen Excel Programming 1 October 25th 03 12:42 AM


All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"