You go to design view on the form and select (drag over) the 30 controls. On the property sheet for the click event (if that's the event you want to use) you enter = FunctionName(), which of course is your function name, not what I wrote. That function will be called for all 30 controls. But this is not clear
Each button should print its caption
You are printing the form?
Last edited by Micron; 01-31-2019 at 04:24 PM.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.