Reputation: 96753
From the normal Excel window, I can open the VBE and insert a new module by touching the key sequence: ALT+F11, ALTim all without using the mouse.
Is there a way to open the VBE and navigate to the ThisWorkbook code area without using the mouse??
Upvotes: 1
Views: 160
Reputation:
If a VBA project does NOT have modules then first Alt+F11 then,
Ctrl+R, Home, End, Enter.
The Object Explorer seems to get to ThisWorkbook code sheet reliably.
That relies on the Object Explorer opening with focus on the search criteria which is not always the case.
Upvotes: 1
Reputation: 1439
If the question is about without using a mouse, you could simply do Alt+F11 followed by Control+R to get to the project explorer, where you could locate ThisWorkbook by using the arrow keys.
If you want a repeatable sequence of characters that will always get you there, that is a more difficult problem.
Upvotes: 1
Reputation: 5077
Control+R to jump to the project browser and then the arrow keys to select works for me.
Upvotes: 1