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.
But first ... credit where it's due ... the functionality I describe here was inspired by Mike Wolfe's "Toggle" Hotkey for the Immediate Window post here https://nolongerset.com/toggle-hotkey-for-the-immediate-window/ in which he says "Am I the only one who finds it annoying that [Ctrl] + [G] doesn't toggle between the immediate window and the code window? Let's fix that." (i.e. because the hotkey to get back to the code window is F7) and then describes a solution using AutoHotkey.
So VBE_Extras provides its own solution to this ... and then goes a step further (in fact, 5 steps further):
Ctrl+G toggles to AND FROM the Immediate window
Ctrl+R toggles to AND FROM the Project window
Ctrl+L toggles visibility of the Call Stack window (i.e. it both shows AND CLOSES the Call Stack window) ... this works only when stepping through code or when code execution is paused (otherwise there is no call stack and the VBE refuses to show the window)
F2 toggles to AND FROM the Object Browser
F4 toggles to AND FROM the Properties window
When the active Module is a UserForm, F7 toggles the view between the code AND THE designer
... note that if you have allocated any of the above keyboard shortcuts to other VBE_Extras commands (or to commands provided by other VBE AddIns) then they may continue to trigger that other command instead.
For this functionality to work, you have to switch on the 'Alternative VBE window navigation keys' setting (in the 'Other' tab of the Settings). You also have to be using VBE_Extras version 1.5.4.0 or later.
It just makes navigating around the VBE windows so much simpler and more intuitive. And things like that make me smile (thanks Mike).
コメント