VBA-editor - Excel crashes

Bengt

Active Member
Joined
Mar 4, 2008
Messages
273
Office Version
  1. 365
Platform
  1. Windows
Don't know if this really counts as an Excel-issue per se, but this is what has happened to me. I start Excel, try to move to the developer area so I press ALT F11 (or use the icon on the developer menu, makes no difference). The VBA editor seems to start i.e. you can see the code window, but after about five seconds Excel crashes. I have been discussing this with MS Support and we worked with it for hours on end, we have uninstalled Office, deleted Office and downloaded a new copy and installed it again but to no avail. Has anyone had a similar experience? Maybe worth noting too, that this happened from one day to the next. No change in hardware.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
One thing that I would like to ask you about - probably just a shot in the dark, but I am out of possible explanations: Has Microsoft introduced something of a developer's license lately, something that you must have in order for you to use VBA?
No, not that I am aware of. I think that would be pretty big news, and we would see lots of questions here about it if they did.
 
Upvote 0
So this pretty much happened to me last week with one of my primary workbooks. I could load the workbook, and I could even load VBA Editor without it crashing (for the most part!), but the moment I indent a line of code, or go to open a userform, or rename a module - boom - it's all over. I have never really encountered that before, and so it was looking like I would need to start coming up with some innovative ways to recover the code.

On a whim, and as a last resort, I tried the Open and Repair option when opening a workbook:
1736204348377.png


Never needed to use it before. I fully expected it to gut the VBA code from my workbook, but no. It did whatever it does, and then reporeted back that there was nothing that needed repairing. But from that point on, I have not had a single problem with the workbook or the VBA Editor. Worth a try?
 
Upvote 0

Forum statistics

Threads
1,225,229
Messages
6,183,729
Members
453,185
Latest member
radiantclassy

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