Wednesday, July 27, 2022

For loop in Excel VBA

 Dim i As Integer


For i = 1 To 6 Step 2
    Cells(i, 1).Value = 100
Next i

No comments:

Post a Comment