use OnClick code

  • Thread starter Thread starter Leslie Isaacs
  • Start date Start date
L

Leslie Isaacs

Hello All

Is it possible to include the OnClick event code of one button as part of
the OnClick event code of another button - without having to copy/paste it
all? I'm sure this should be do-able, but can't quite see how!

Hope someone can help.
Many thanks
Les
 
Leslie said:
Is it possible to include the OnClick event code of one button as part of
the OnClick event code of another button - without having to copy/paste it
all? I'm sure this should be do-able, but can't quite see how!


Just call the other Click event procedure like any normal
Sub. Either:
somebutton_Click
or
Call somebutton_Click()
 
Back
Top