VBE_Extras adds a whole load of functionality (see What is VBE_Extras) to the standard VBE. But sometimes, rather than the major areas of functionality, it's just the little things that it does that make me smile. Here's an example.
When you're editing VBA code and you need to go and check out some code somewhere else in the Module or anywhere in the Project ... and then you want to immediately jump back to where you were last editing code ...
When you compiled your VBA Project and the VBE identified an error and changed the location of the cursor to that error ... but you want to immediately jump back to where you were last editing code ...
When you ran some code and there was an error and the VBE changed the location of the cursor to the location of that error ... but you want to immediately jump back to where you were last editing code ...
When the VBE randomly decides that the focus should move to some UserForm designer while you were in the middle of doing something else ... and you want to just jump straight back to where you were last editing code ...
Use VBE_Extras 'Go to last edit' command ... available in the 'Goto' sub-menu or using the Ctrl+Shift+Backspace keyboard shortcut.

Surprise, surprise ... it moves your cursor back to the last edit location. Nothing major. Just a small thing. But far simpler than doing the same thing using the vanilla VBE ... it makes me smile every time!
Comments