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


Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2001, 06:23 PM
miktek
Guest
 
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.
Thanks



Reply With Quote
  #2  
Old 04-11-2001, 09: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.

[img]images/icons/smile.gif[/img]
Reply With Quote
Reply


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

Advertisement:





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.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
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..
subscribe
 
 
-->