Hi yesterday I post a message to know how create variables in a for loop.
Now my problem is that I want to put a string in those variables but could not figure it how???
here what I tried
For i = 1 to 60
If eval("x" & i) <> "" Then
execute "Dim y" & i
execute "y" & i = "String" << stoped here ????
End if
Next
Error return
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'execute'
Help please
Now my problem is that I want to put a string in those variables but could not figure it how???
here what I tried
For i = 1 to 60
If eval("x" & i) <> "" Then
execute "Dim y" & i
execute "y" & i = "String" << stoped here ????
End if
Next
Error return
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'execute'
Help please