I have a worksheet with 100 buttons. Each button represents a Customer’s record number. I’m working on a macro to assign to each button that when clicked would do the following:
Thank you in advance for your time and help.
- Open the userform CCX_Form
- Assign the customer’s record number to the variable TBrecord
- Run the subroutine Private Sub Search_Click()
VBA Code:
Sub Rectangle1_Click()
CCX_Form.Show
TBrecord.Value = "001"
Call Sub Search
End Sub
Thank you in advance for your time and help.