NewTexican
Technical User
I'm still getting up to speed on vb and programming in general. I have a bunch of checkboxes. when user checks a box a record is created in a table. Right now I have
Private Sub Check19_Click()
dim vari as long
vari =1
code
Private Sub Check20_Click()
dim vari as long
vari =2
code
Private Sub Check21_Click()
dim vari as long
vari =3
code
.
.
.
etc.
all these subs call another sub and pass vari (and more) to it.
What would the code that bunched all these check clicks together look like? Thanks.
Private Sub Check19_Click()
dim vari as long
vari =1
code
Private Sub Check20_Click()
dim vari as long
vari =2
code
Private Sub Check21_Click()
dim vari as long
vari =3
code
.
.
.
etc.
all these subs call another sub and pass vari (and more) to it.
What would the code that bunched all these check clicks together look like? Thanks.