Hello,
Can some help me why below Loop doesn't work ? Numbering of "Labels" in UserForm is the same like numbering of "S" varabiles.
I have below error when try to run this code
Thanks for your help.
Can some help me why below Loop doesn't work ? Numbering of "Labels" in UserForm is the same like numbering of "S" varabiles.
VBA Code:
Dim m As Byte
Dim S1 As String
Dim S2 As String
Dim S3 As String
Dim S4 As String
Dim S5 As String
Dim S6 As String
Dim S7 As String
Dim S8 As String
Dim S9 As String
Dim S10 As String
Dim S11 As String
Dim S12 As String
Dim S13 As String
Dim S14 As String
Dim S15 As String
Dim S16 As String
Dim S17 As String
Dim S18 As String
Dim S19 As String
Dim S20 As String
Dim S21 As String
Dim S22 As String
Dim S23 As String
ThisWorkbook.Worksheets("Skill_matrix_SQA").Range (A13)
For m = 1 To 23
S(m) = ThisWorkbook.Worksheets("Skill_matrix_SQA").Cells(13, m + 3).Value
Label(m) = S(m)
Next m
I have below error when try to run this code
Thanks for your help.