I am using step in a for statement in VBA.
A variable is used for the value of step, and it fluctuates in the for statement.
However, when I debugged, the contents of the first variable were added to i,
It was different from the contents of the variable that changed in the for statement.

Is step determined by the contents of the first variable?
Is there any other way to confirm it?
Thank you.

Dim numberOfLines As Long
numberOfLines = 5
For i = line1 to endRow Step numberOfLines
~~ Processing ~~
    numberOfLines = number of join lines