John has attended:
Excel VBA Intro Intermediate course
For loop
How do you do a 'for' loop?
RE: for loop
John
An simple example of the for loop is:
For Counter = 1 to 100
Total = total + Cells(NoRows,4).value
Next Counter
Forum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - For loop
John has attended:
Excel VBA Intro Intermediate course
How do you do a 'for' loop?
John
An simple example of the for loop is:
For Counter = 1 to 100
Total = total + Cells(NoRows,4).value
Next Counter
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question.
Our Microsoft Qualified trainers will then respond within 24 hours (working days).
Frequently Asked Questions
What does 'Resolved' mean?
Any suggestions, questions or comments? Please post in the Improve the forum thread.
When needing to default a String variable back to it's default of "" use vbNullString as in the following example:
Sub ClearText()
Dim strEmpName As String
strEmpName = "John Smith"
MsgBox strEmpName
strEmpName = vbNullString
MsgBox strEmpName
End Sub
Call for assistance
We will call you back