Find a variable definition

To view the definition of a variable

  1. In the Code window, select the variable whose definition you want to see.

  2. 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).

See also

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.