Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel performing ilegal operation.....

Status
Not open for further replies.

Jamie2002

Technical User
Sep 17, 2001
62
GB
I have a 10mb spreadsheet with a bit of code for opening a custom print menu(this has been working for ages) now I've added a load of code that does all my formatting, deletes some sheets and backs up the file.

Now every time I run any code, not just the new code I've added, I get a Illegal Operation box and Excel shuts itself.

This is the error message below, can anybody help ?


EXCEL caused an invalid page fault in
module VBA332.DLL at 0167:651b41d3.
Registers:
EAX=023d2230 CS=0167 EIP=651b41d3 EFLGS=00010202
EBX=023d8158 SS=016f ESP=0062d8ac EBP=0062d918
ECX=0000001e DS=016f ESI=023d858c FS=34d7
EDX=00000000 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 47 4c ff 40 08 8b 40 10 83 c0 04 83 38 ff 74
Stack dump:
00000000 023d858c 023d856c 651959ea 0000000c 00000003 0062d910 023d7a4c 023d7b14 023d7b18 6519f061 0062d8ec 023d7a4c 023d7a4c 023d7a80 023d8250
 
It may be the size of the file.?. 10MB is quite large for Excel. I have had problems with extremely large files as well. If you have that much data, you should consider moving it to a true database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top