Hi
I managed to knock something together for you.
Try the sample file. This is work in progress.
All this type of code was prepared in excel and pasted into vba.
Frankly I didn't want to ammend the code 100 times.
So it is simplicity itself to programme 10, 000 buttons if needed.
It calls the Text Add subroutine and passes the command button number to it.
Finally I messed around trying to get multiple pages to work like the above.
If the commandbuttons are on page one of a multipage userform.
And you have 40 lines of data in the data sheet instead of my 4.
This code inserts 3 more pages and copies the buttons to the three pages so you have 400 buttons.
However I couldn't get the buttons to get filled with the correct text.
That is a problem for wednsday night.
Bookmarks