Try thisCode:Private Sub Command1_Click() Dim str1 As String Dim intCounter As Integer Dim i As Long str1 = "str1" For i = 1 To 2 intCounter = intCounter + 1 str1 = "Str" & intCounter MsgBox str1 Next End Sub
|
Results 1 to 12 of 12
Thread: [RESOLVED] Loops.Threaded View
|
Click Here to Expand Forum to Full Width |