Reputation: 496
I am trying to edit some code in an existing project with tons of forms, modules, and custom functions. In the relevant event handler I find this:
Action = "Some text here I'd rather not share " & Me.UpdatedPrimary
UpdateLog (Action)
The UpdateLog() function is not anywhere in this module. How do I find it without manually looking through dozens upon dozens of form objects and modules?
Not very familiar with this code editor. Thank you.
Upvotes: 0
Views: 1118
Reputation: 27644
Answered in comments.
Shift + F2 -- the most important keyboard shortcut in the VBA editor. :)
Or via context menu [right_click] -> Definition
or menu View -> Definition
.
Note that it doesn't work only for functions, but also for variables etc.
Upvotes: 3