the next stage in the tutorial is debugging, ive got the code theyve said and like they said, i cant find whats wrong and am saying to myself that it should work LOL

heres the code

Dim I As Integer
Dim LetterCount As Integer
Dim strText As String
Dim Letter As Char

strText = "Debugging"

For I = 1 To strText.Length - 1
Letter = strText.Substring(0)

If Letter = "g" Then
LetterCount = LetterCount + 1
End If
Next
TextBox1.Text = "g Appears" & " " & LetterCount & " " & "Times"
End Sub


thanks in advance


can u spot whats going wrong please???