Hi Johnnythe event of a button in a dialog throws an event object to the called macro. This Event object has a Source property that contains the caller object
design your button, plugg it to the MySub macro
then
sub mySub (oeVt)
print oEvt.Source.name
end sub
HTH
Laurent
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
