Problem with VBA in Excel

Enoch11

New Member
Joined
May 19, 2011
Messages
2
I wrote an application in VBA (Excel). On startup of my application shows a menu with control buttons. The application works fine on the computer on which it was written. However on other computers, as soon as Excel starts, an error msg is shown: "Microsoft Excel has encountered a problem and needs to close". The same problem occurs in Excel 2002 and 2007.
How can I stop execution of the application before the error msg is shown? Ctrl+Break doesn’t work. How can I get access to the code, to try and make changes?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the board.

Open any other excel document.
Disable Macros
Close Excel

Then you should be able to open the troublesome document.


Also, I think you can just hold down the Shift Key when open the document.
That disables macros for that session.

Hope that helps.
 
Upvote 0
Welcome to the board.

Open any other excel document.
Disable Macros
Close Excel

Then you should be able to open the troublesome document.


Also, I think you can just hold down the Shift Key when open the document.
That disables macros for that session.

Hope that helps.

Thanks.
It did not help. Still Excel crashes.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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