I have a command button [Me.cmdUpdFE] on Form1 that runs several lines of code.
What I want to do is call this code under different circumstances.
Obviously I can copy and paste my code but would always prefer to have just one place to edit my code.
Is this possible?
ie when I open Form2 then run the same code as Form1.cmdUpdFE_onclick()
What I want to do is call this code under different circumstances.
Obviously I can copy and paste my code but would always prefer to have just one place to edit my code.
Is this possible?
ie when I open Form2 then run the same code as Form1.cmdUpdFE_onclick()