Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Memory could not ne "writtem" problem.
Hi
I have just made some changes to my application, and have run into a weird problem. I added a logging routine, which records some info from various places throughout the code, and this appears to work OK. At least all of the calls to the routine work and the resultant log file is OK. The program doesn't complain about any of this side of things. Now this routine and it's calls are the only changes made - and now, only when closing the program the fault manifests itself: The instruction at "0x308e0a2e" referenced memory at "0x0198de52". The memory could not be "written". With OK and CANCEL buttons. and the EXCEL app remains running in the process list until I stop the process. I have tried removing ALL the additional code I added but the problem persists. It seems it is ONLY when trying to close the workbook that this happens. I realise this is not specifically a 'programming' problem, but I am just hoping that someone out there can shed some light on this - it *may* be something that is 'know about'. I could post the code fragments, but as mentioned, I feel they are not to blame. regards, -- Les Hay, Livingston. Scotland |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Memory could not ne "writtem" problem.
Corrupted macro module ?
Copy/Paste into notepad Remove old module Copy/paste code from notepad to a new sheet. Regards BrianB ================================================= "Les" wrote in message ... Hi I have just made some changes to my application, and have run into a weird problem. I added a logging routine, which records some info from various places throughout the code, and this appears to work OK. At least all of the calls to the routine work and the resultant log file is OK. The program doesn't complain about any of this side of things. Now this routine and it's calls are the only changes made - and now, only when closing the program the fault manifests itself: The instruction at "0x308e0a2e" referenced memory at "0x0198de52". The memory could not be "written". With OK and CANCEL buttons. and the EXCEL app remains running in the process list until I stop the process. I have tried removing ALL the additional code I added but the problem persists. It seems it is ONLY when trying to close the workbook that this happens. I realise this is not specifically a 'programming' problem, but I am just hoping that someone out there can shed some light on this - it *may* be something that is 'know about'. I could post the code fragments, but as mentioned, I feel they are not to blame. regards, |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Memory could not ne "writtem" problem.
Hi Brian
I did do similar by exporting all code and then importing - is your method different in some way? Thanks for responding to an off-topic question. regards, -- Les Hay, Livingston. Scotland "BrianB" wrote in message om... Corrupted macro module ? Copy/Paste into notepad Remove old module Copy/paste code from notepad to a new sheet. Regards BrianB ================================================= "Les" wrote in message ... Hi I have just made some changes to my application, and have run into a weird problem. I added a logging routine, which records some info from various places throughout the code, and this appears to work OK. At least all of the calls to the routine work and the resultant log file is OK. The program doesn't complain about any of this side of things. Now this routine and it's calls are the only changes made - and now, only when closing the program the fault manifests itself: The instruction at "0x308e0a2e" referenced memory at "0x0198de52". The memory could not be "written". With OK and CANCEL buttons. and the EXCEL app remains running in the process list until I stop the process. I have tried removing ALL the additional code I added but the problem persists. It seems it is ONLY when trying to close the workbook that this happens. I realise this is not specifically a 'programming' problem, but I am just hoping that someone out there can shed some light on this - it *may* be something that is 'know about'. I could post the code fragments, but as mentioned, I feel they are not to blame. regards, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
The Instruction at "0x749860a0" referenced memory at "0x00000000" | Excel Discussion (Misc queries) | |||
problem with Linking workbooks via "copy" and "paste link" | Excel Discussion (Misc queries) | |||
Very Wierd Execl "Memory" problem | Excel Discussion (Misc queries) | |||
Bogus "Out of memory" Warning in VBE? | Excel Discussion (Misc queries) |