I attempted to search on this, but didn't find anything. THANKS for any help!
I want to be able to add modules of contract text by selecting buttons. There are about 150-200 individual text entries I need to be concerned about, and the inclusion and order varies with each contract. For example, if my text control is Text0, and I have control Button One that adds "One" to the text, I have put OnClick code on the button as follows:
Private Sub Button_One_Click()
Text0.Value = Text0 & "One"
End Sub
However, I would have to repeat this code up to 200 times for all the possible text entries, changing the "One" here to the new text for each entry. I know this has had to have been done a million times in the past in an easier fashion. Any advice is very welcome and very appreciated.
I want to be able to add modules of contract text by selecting buttons. There are about 150-200 individual text entries I need to be concerned about, and the inclusion and order varies with each contract. For example, if my text control is Text0, and I have control Button One that adds "One" to the text, I have put OnClick code on the button as follows:
Private Sub Button_One_Click()
Text0.Value = Text0 & "One"
End Sub
However, I would have to repeat this code up to 200 times for all the possible text entries, changing the "One" here to the new text for each entry. I know this has had to have been done a million times in the past in an easier fashion. Any advice is very welcome and very appreciated.