need help specifying macro condition

arage

Registered User.
Local time
Today, 06:40
Joined
Dec 30, 2000
Messages
537
rather than write 2 macros for 2 separate buttons I’d like the onClick event to run the same macro, I just don’t know how to specify a condition that would in essence tell me the focus of or the onClick property of the button that applicable button.

I’m just fooling around right now but tried stuff like this as a condition so far:

[cmdOA].[focus]=True
 
arage, not sure if I am following you but is this what you are looking for?

cmdOA.SetFocus
 

Users who are viewing this thread

Back
Top Bottom