CommandButton self reference

M

makulski

How do I reference the properties of a command button in the code of the
click event?

I assumed it would be "me." but the "me" is not valid.

example, I want to know where the button is located.
I can say CommandButton1.address
but if I want the code to be generic, I don't want to use the actual name in
the code.
I'd really like to say Me.address

How do I do this?
Thanks
 

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

Top