Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42441

I have a Syntax error, I am stuck, and new

$
0
0
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.

Viewing all articles
Browse latest Browse all 42441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>