Hi there,
I have a number of Dim lines which are very similar. Any suggestions on how I would compress these lines by maybe using something like a for next loop??
The code is:-
Many thanks
Pete
I have a number of Dim lines which are very similar. Any suggestions on how I would compress these lines by maybe using something like a for next loop??
The code is:-
Code:
Dim lbl1C1 As MSForms.Label
Dim lbl2C1 As MSForms.Label
Dim lbl3C1 As MSForms.Label
Dim lbl4C1 As MSForms.Label
Dim lbl5C1 As MSForms.Label
Dim lbl6C1 As MSForms.Label
Dim lbl7C1 As MSForms.Label
Dim lbl8C1 As MSForms.Label
Dim lbl9C1 As MSForms.Label
Dim lbl10C1 As MSForms.Label
Dim lbl11C1 As MSForms.Label
Dim lbl12C1 As MSForms.Label
Dim lbl13C1 As MSForms.Label
Dim lbl14C1 As MSForms.Label
Dim lbl15C1 As MSForms.Label
Dim lbl16C1 As MSForms.Label
Dim lbl17C1 As MSForms.Label
Dim lbl18C1 As MSForms.Label
Dim lbl19C1 As MSForms.Label
Dim lbl20C1 As MSForms.Label
Many thanks
Pete