Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a form which will display a list of people, next to which a command
button will appear. If there are 4 people then four cb's will appear etc etc. The code I want to run doesn't change except for the position in the list, so I could have Private Sub cb1_click call mysubroutine(1) End Sub Private Sub cb2_click call mysubroutine(2) End Sub Is there any way for me to code the equivalent of - Private Sub cb(index)_click call mysubroutine(index) End Sub Thanks in advance (Apologies if this is a double post, my news server is playing silly beggars) Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Matching call data based on date, time and number called to give c | Excel Discussion (Misc queries) | |||
turn off subroutines | Excel Discussion (Misc queries) | |||
Are there any NON-Visual Basic solutions for inserting a picture based a derived or called filename? | Excel Worksheet Functions | |||
Counting the number of times someone called in sick | Excel Discussion (Misc queries) | |||
Run method for subroutines | Excel Programming |