Hello Paul,
No worries... the notification e-mail of replies started going to my spam folder so I fell behind anyhow.
I am still working with this activities idea were the user adds activities to the form. Each activity is basically a table with content controls that need to be filled out. Each activity has the command button which deletes the activity (table). I will have no idea how many activites the user will need. There could be 1 or 100. Since each activity is a quick part, they are basically a copy of the first activity. So each command button will have the same base name.
Stessing that I am still new to VBA, I am guessing that you are saying to create code that runs on all command buttons. And from this run actions based on the name of the command button selected. So if the name of this button that is repeated in each activity is MyCommandButton, then the code would refer to the button as Like MyCommandButton*. Right/wrong?
Thanks!
Brock
|