Counting & The Use Of "i" In VBA CodeMay 27, 2009
am trying to understand how Excel knows what "i" references when counting something (rows or columns). Example:
For i = 2 To finalRow (in this example, I was declared as an integer)
I have also seen it declared as a variable using "dim" & another macro that didn't declare it. When must it be declared & does it matter?