I’ve been working on an Excel file (many user forms and VBA code) for a couple of months. Tonight I made some adjustments to one of the user forms (added some combo boxes and text boxes and associated code). When I tested the form, my code stopped executing and I was told that it did not recognize one of my user forms. I’ve had this happen in the past (fairly rarely). When I add or delete objects on a user form, VBA acts like certain forms (and objects on them) do not exist when clearly they do. To get around this, I can usually re-open the file with macros disabled and save it again. For some reason, this loads the forms and now they are all recognized by the VBE?? The same thing just occurred, but when I try to reopen the file, I am told that I am in the file and that it is locked for editing. When I continue to open the file (as read-only), I get an Excel.exe application error “The instruction at “0x6501ce26” referenced memory at “0x00000063”. The memory could not be “read”. Click on OK to terminate the program.” This means that Excel always shuts down and I cannot gain access to the file or any VBA modules/forms. My computer has a 2000 operating system so I tried to open the file on a computer with Windows 98. On this computer, I can open the file as read-only for about 30 seconds. I then get a system error “&H8000FFFF(-2147418113)” and the following error message:
Excel
This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
EXCEL caused an invalid page fault in
module VBE6.DLL at 0187:650e6ada.
Registers:
EAX=00000047 CS=0187 EIP=650e6ada EFLGS=00010286
EBX=0000001a SS=018f ESP=0062ebc8 EBP=0062ebf8
ECX=80000004 DS=018f ESI=00000004 FS=50f7
EDX=00000004 ES=018f EDI=02617a38 GS=0000
Bytes at CS:EIP:
8b 70 1c eb 03 8b 70 40 c1 e9 02 81 e1 ff ff ff
Stack dump:
02617a38 00000004 650bbd68 02617a38 00000000 80000000 651b321d 02617a38 02617538 0000000d 0000001a 02617968 026174bc 651b31e5 02617538 0000000d
I’d like to know if I can export and sheets/modules/forms from this corrupt file? Does anyone know why this occurs occasionally and why I cannot access the file this time? Any suggestions are helpful. The Microsoft web site was COMPLETELY USELESS in trying to explain the error messages. I’d like to try to salvage some of my work (last backup copy was yesterday, so worst case scenario, I lose a days worth of work) and make sure this does not happen again. Any insight is appreciated. Thank you.
Excel
This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
EXCEL caused an invalid page fault in
module VBE6.DLL at 0187:650e6ada.
Registers:
EAX=00000047 CS=0187 EIP=650e6ada EFLGS=00010286
EBX=0000001a SS=018f ESP=0062ebc8 EBP=0062ebf8
ECX=80000004 DS=018f ESI=00000004 FS=50f7
EDX=00000004 ES=018f EDI=02617a38 GS=0000
Bytes at CS:EIP:
8b 70 1c eb 03 8b 70 40 c1 e9 02 81 e1 ff ff ff
Stack dump:
02617a38 00000004 650bbd68 02617a38 00000000 80000000 651b321d 02617a38 02617538 0000000d 0000001a 02617968 026174bc 651b31e5 02617538 0000000d
I’d like to know if I can export and sheets/modules/forms from this corrupt file? Does anyone know why this occurs occasionally and why I cannot access the file this time? Any suggestions are helpful. The Microsoft web site was COMPLETELY USELESS in trying to explain the error messages. I’d like to try to salvage some of my work (last backup copy was yesterday, so worst case scenario, I lose a days worth of work) and make sure this does not happen again. Any insight is appreciated. Thank you.