Visual Basic Question

  • Thread starter Thread starter mwapnitsky VisualBasicQuestion
  • Start date Start date
M

mwapnitsky VisualBasicQuestion

Is there any programmatic way to identify the SUB I am
running in?

I would like to dynamically pass the control name to
another subroutine without hard-coding it.
 
"mwapnitsky VisualBasicQuestion @tiaa-cref.org"
Is there any programmatic way to identify the SUB I am
running in?

I would like to dynamically pass the control name to
another subroutine without hard-coding it.

If you are referring to a form, you can use Me.ActiveControl.

cheers,
Stephan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top