Critical Failure in Compling a Macro

Jordy

New Member
Joined
Mar 30, 2002
Messages
2
I have been creating some Macros in Excel and when I select compile from the debug menu I get the windows message "This program has preformed an illegal operation and will be shut down."

Does anybody know what could cause this. I have tried deleting bits of the macros to try and identify what is causing the error but to no success. Any suggestions would be greatley recieved.

regards,

Jon
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,

I think everyone who has used Excel for a while has come across this message (and wanted to throw their PC across the room when they've lost an hour of unsaved work :))). I've never come across it when using Debug, Compile. I think the best thing to do is post all of your macros so someone else can try it on a different machine. That should help start eliminating potential problems.

Regards,
Dan
 
Upvote 0
i have never had it on excel, but have had it with internet explorer a LOT!! :(

RET79
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,150
Members
448,552
Latest member
WORKINGWITHNOLEADER

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top