riskassure
Programmer
Hi, I have the following question:
I have a form which contains a drop down box and a button. The values of the drop down box are texts of partial VBA code.
Underneath the button is a VBA code, which looks roughly like
private sub blahblahblah()
blah blah blah
blah blah blah
x
blah blah blah
end sub
which will trigger when I click the button. In addition, x will be replaced by the value of the drop down that I selected, so that the execution can continue.
Is this possible? If not, is there another approach? Any help will be greatly appreciated!
Chi
~~CW~~
I have a form which contains a drop down box and a button. The values of the drop down box are texts of partial VBA code.
Underneath the button is a VBA code, which looks roughly like
private sub blahblahblah()
blah blah blah
blah blah blah
x
blah blah blah
end sub
which will trigger when I click the button. In addition, x will be replaced by the value of the drop down that I selected, so that the execution can continue.
Is this possible? If not, is there another approach? Any help will be greatly appreciated!
Chi
~~CW~~