Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Excel XP - VBA crashing because of Exception handling

Context: I developed in Excel XP using extensive VBA code

Problem: The code appears to cause Excel to sometimes
crash. Not all the time.
In Excel 97, this doesn't happen at all.

Error Message: The following is the error message I get
-- "The instruction at "0x00f00179" referenced
memory at "0xffffffff." The memory could not
be "read". An exception "Unhandled Win 32
Exception" has occurred in EXCEL.EXE.

Debug: When I debug in Assembly language, I get
"Unhandled exception at 0x00f00179 in Excel.EXE:
0xC0000005: Access violation reading location
0xffffffff
Assembly: 00F00177 add byte ptr(eax), bl
00F00179 pop ds
00F0017A lock add byte ptr[eax+30h], ah


Would anyone know what type of VBA code would cause this
as I desperately need to fix this problem?
Reply
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 Crashing SJMP Setting up and Configuration of Excel 3 March 6th 09 12:27 PM
Crashing of Excel FASB Excel Discussion (Misc queries) 1 June 5th 07 04:32 PM
Exception with EXCEL 2007 API Sharad Birajdar Excel Worksheet Functions 0 January 31st 07 11:55 AM
excel crashing robin Excel Discussion (Misc queries) 6 August 3rd 05 02:15 PM
Exception report in excel jj Excel Worksheet Functions 5 March 2nd 05 05:05 PM


All times are GMT +1. The time now is 08:13 AM.

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

About Us

"It's about Microsoft Excel"