Hi there,
Take a look at the attached version (deleted - see P.S.) of your workbook and see if it does what you need. It uses the following code:
The main worksheet ("Buttons") contains the ten selection buttons shown in your original workbook. There is just a single (i.e. not ten) "window". This window displays the texts appropriate to the current selection, and takes these texts from a table on the "Texts" worksheet - this approach probably makes the workbook easier to maintain.
Each of the ten selection buttons calls the SAME routine ("GetSelection").
Hope this helps - please let me know how you get on.
Regards,
Greg M
P.S. The wrong version of the workbook was attached and has been deleted. The correct version is attached to post #4.
Bookmarks