If, for example i'm writing the following code:-
Dim EG1 as Boolean
Dim EG2 as Boolean
Dim EG3 as Boolean
EG1 = ToggleButton1.Value
EG2 = ToggleButton2.Value
EG3 = ToggleButton3.Value
But i've got EG's going up to EG30..... do I need to put each and everyone of them, or is there a quick way of doing it, so the codes isn't so long?
Dim EG1 as Boolean
Dim EG2 as Boolean
Dim EG3 as Boolean
EG1 = ToggleButton1.Value
EG2 = ToggleButton2.Value
EG3 = ToggleButton3.Value
But i've got EG's going up to EG30..... do I need to put each and everyone of them, or is there a quick way of doing it, so the codes isn't so long?