kittronald used his keyboard to write :
> Garry,
>
> So placing CStr(i) after Macro_2's name passes the variable by reference
> (since it won't be modified) and converts it to a string value at the same
> time.
>
> Since only one argument is being passed, "Ndx" is used to refer to the
> "i" value within the parentheses.
>
> Is that correct ?
>
>
> - Ronald K.
Your intellisense should verify that the value of Ndx matches the value
of i for each iteration of your loop. So then, the 1st round passes 0
(zero) to Macro_2. The 2nd round passes 1, the 3rd round passes 2,
...and so on. Just hold your mouse over each of the variables in break
mode and you'll see what each value is and when it changes to the next
increment of your loop.
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc