Mystery Crashing of Excel After Saving Code

Ark68

Well-known Member
Joined
Mar 23, 2004
Messages
4,616
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
After I edit a module in Microsoft Visual Basic for Applications, I routinely save the code. But within a few seconds of saving, Excel crashes, restarts, and opens the last saved version of the document that was being worked on at the time of the crash. Is there a means of checking what might be causing this crash? The code isn't (shouldn't be) running to be the culprit. It only happens after I run my code and it programmably stops in this module to allow me to step though, edit and save changes.
 
Well ... I admit that someone more knowledgeable than me will need to assist here.

Sorry. Trust you will quickly find a solution to your dilemma.

I'll follow this thread for a solution.

Best wishes.
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
To anyone still hopefully following this ...
If I delete this line of code from the module, I lose the Excel crash experience.
Code:
        'Application.DeleteCustomList Application.CustomListCount
 
Upvote 0
Ding ding ding ding!!! Winner winner chicken dinner! That indeed was the golden ticket Logit. Your persistence paid off and for that I extend my gratitude.
 
Upvote 0
Hurray !!!!!

Glad you have an answer.
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,219
Members
453,024
Latest member
Wingit77

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