Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > "This program has performed an illegal op"

Thread Tools Display Modes
Old 04-10-2001, 05:23 PM
Posts: n/a
Question "This program has performed an illegal op"

I know this is a longshot but maybe this has happened to someone else. I'm working in VBA (XL97) with 1 workbook with multiple sheets. Everything is fine until one of my latest revs to the software did something very bad. Whenever I try to compile from within the VBA window I get"the This program has performed an illegal op and will be shutdown" When looking at details of the error it says "EXCEL caused an invalid page fault in module VBA332.DLL at 017f:651b41d3." So I look this up at the Microsoft site and find this link that talks about an error with a deleted or moved sheet. I've taken out all references to sheets but I still get the error with this file. It also happens with a simple frm.show statement. Anyway this post is too long so if anyone's knows anything I'm desperate.

Reply With Quote
Old 04-11-2001, 08:48 AM
klabranche klabranche is offline
Junior Contributor
Join Date: May 2000
Location: Arizona
Posts: 288
Default Re: "This program has performed an illegal op"

Try recreating your code up until it caused the error in a new workbook and see if it still blows up. Posting your code and an explanation of what you are trying to do may help in solving the error.

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..