I have a multipage Userform which has 9 tabs at the top. The tabs are selected based on a number of options (they prompt a user to ask specific questions based on different scenarios). Essentially, however, they all do the same thing - check the questions have been answered correctly.
I can add Command Buttons on each (Confirm, Cancel, Clear & Other), but each needs it's own private sub, which runs on the 'click' of each button. I've done one tab, but is here any way to replicate the code on the buttons on the other tabs (rather than having the same four bits of code replicated 9 times?
I can add Command Buttons on each (Confirm, Cancel, Clear & Other), but each needs it's own private sub, which runs on the 'click' of each button. I've done one tab, but is here any way to replicate the code on the buttons on the other tabs (rather than having the same four bits of code replicated 9 times?