Link to home
Start Free TrialLog in
Avatar of tahirih
tahirih

asked on

Access Reuse a Button

If I am using the same button on the main form and linked subforms, all on a tab form, please offer how I can copy and paste the same button, without having to modify the code and give the button a new name on each of the subforms.

thanks.
ASKER CERTIFIED SOLUTION
Avatar of MNelson831
MNelson831
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tahirih
tahirih

ASKER

Thank you.
Avatar of Jim Dettman (EE MVE)
MZ TOOLS:
http://www.mztools.com/v3/download.aspx
  which is free, has a copy controls with code function.  Outside of that, there is nothing in Access/VBA that allows you to copy a button.
JimD.
Unfortunately, when you copy and paste a control with code behind, you lose the code.  So, you will have to get the code separately ...

mx