I want to set the value of a serial of variables, say, varable1, varable2,...varable10. I used the following codes to realize this, but it does not work:
Dim strVar, strSerial As String
Dim i As Integer
strVar = "varable"
i = 1
For i = 1 To 10
strVar = strVar & Trim(Str(i))
strVar = i
Next i
VB set strVar to i , not varable1, ... varable10.
How would I do to realize this?
Thanks a lot.
Dim strVar, strSerial As String
Dim i As Integer
strVar = "varable"
i = 1
For i = 1 To 10
strVar = strVar & Trim(Str(i))
strVar = i
Next i
VB set strVar to i , not varable1, ... varable10.
How would I do to realize this?
Thanks a lot.