L
Leo
Hi -
I am looking for a way to write a certain function in VBA.
I want to say that if a certain value in a combo box
is "x", then run a set of code.
However I do not want to do the following:
If cbb_Box = "x" then
Code A
Else
Code B
End IF
I would like to somehow reference a set of code. Is there
any way to name a set of code in VBA? For example, like on
a Case 1, Case 2, Case 3 basis?
Please help.
Thanks!!
I am looking for a way to write a certain function in VBA.
I want to say that if a certain value in a combo box
is "x", then run a set of code.
However I do not want to do the following:
If cbb_Box = "x" then
Code A
Else
Code B
End IF
I would like to somehow reference a set of code. Is there
any way to name a set of code in VBA? For example, like on
a Case 1, Case 2, Case 3 basis?
Please help.
Thanks!!