Hi all,
This is my first post, but I've been helped 100's of times by the site!
Right, I've got a userform I'm using as a control panel, it comes up automatically when the workbook opens. I've put a bunch of buttons on their which are cool, and I've got pretty much everything I want on there working fine, staying visible at all times.
I had put a little text box just saying 'Welcome' in the body of the userform, but I've been asked whether I can change that into a kind of message centre depending on what worksheet tab is open.
For example, if Sheet 1 is open, the text on the control panel says 'Here's some help for Sheet 1', if the user then clicks to open Sheet 2 the text changes to say 'Here's some help for Sheet 2'. Is there any coding I can use to change the text depending on what tab is open? I was thinking some kind of ActiveWorksheet tab or something? But all the ones I've tried to create on my own fail!
The only way I can think of doing it is duplicating my whole userform over and over and then having, effectively, a different userform opening on each worksheet tab. But that would take me forever to copy all the button codes and design of the form itself... Is there an easier way????
Thanks for any help in advance...
Bookmarks