MarkusLAndersson
Mechanical
- Aug 11, 2005
- 20
Dear forum
I have a problem that I hope that you can help me with. I am using VBA UserForms in Excel to determine several options that is made by the user. For instance the user can choose between to options button (T-support or pi-support) and depending on that option a cell in my work sheet1 shall display the text T-support or pi-support. Now I want these option buttons to be connected to a global variable. This variable should be 1 if the T-support is selected and 2 if pi-support is selected. This shall not be don in my work sheet but in my VBA code. Is this possible by the use of some kind of global variable that then can be used in my worksheet?
I would really appreciate you’re help. Thanks in advance Markus
I have a problem that I hope that you can help me with. I am using VBA UserForms in Excel to determine several options that is made by the user. For instance the user can choose between to options button (T-support or pi-support) and depending on that option a cell in my work sheet1 shall display the text T-support or pi-support. Now I want these option buttons to be connected to a global variable. This variable should be 1 if the T-support is selected and 2 if pi-support is selected. This shall not be don in my work sheet but in my VBA code. Is this possible by the use of some kind of global variable that then can be used in my worksheet?
I would really appreciate you’re help. Thanks in advance Markus