This is some of my code, the relevant parts anyway:
Dim Sum1 As String
Dim Sum2 As String
Dim Sum3 As String
Dim Sum4 As String
Dim Sum5 As String
Dim Sum6 As String
Dim Sum7 As String
Dim Sum8 As String
Dim Sum9 As String
Dim Sum10 As String
Dim SummonerCheck As Integer
On CLICK
Dim SummonerCheck = 1
Do
"Sum" & Convert.ToString(SummonerCheck) = SearchThis(rtbContent.Text, RealBegin) //IT SAYS SUM IS A SYNTAX ERROR, please help
SummonerCheck += 1
Loop Until SummonerCheck = 10
There is a function attached to SearchThis and it works fine, so I have not attached that.
Dim Sum1 As String
Dim Sum2 As String
Dim Sum3 As String
Dim Sum4 As String
Dim Sum5 As String
Dim Sum6 As String
Dim Sum7 As String
Dim Sum8 As String
Dim Sum9 As String
Dim Sum10 As String
Dim SummonerCheck As Integer
On CLICK
Dim SummonerCheck = 1
Do
"Sum" & Convert.ToString(SummonerCheck) = SearchThis(rtbContent.Text, RealBegin) //IT SAYS SUM IS A SYNTAX ERROR, please help
SummonerCheck += 1
Loop Until SummonerCheck = 10
There is a function attached to SearchThis and it works fine, so I have not attached that.