Find a variable definition
To view the definition of a variable
In the Code window, select the variable whose definition you want to see.
From the View menu, choose Definition (SHIFT+F2).
To return the mouse pointer to its previous position
- On the View menu, choose Last Position (CTRL+SHIFT+F2).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.