VBA: Dim i As Integer

%3CLINGO-SUB%20id%3D%22lingo-sub-3027333%22%20slang%3D%22en-US%22%3EVBA%3A%20Dim%20i%20As%20Integer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3027333%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20do%20I%20find%20out%20what%20%22i%22%20means%2C%20or%20what%20%22j%22%20means%20when%20I%20say%20%22Dim%20i%20As%20Integer%3F%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20also%20see%3A%3CBR%20%2F%3EDim%20c%20As%20Integer%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%3F%3F%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3027333%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3027519%22%20slang%3D%22en-US%22%3ERe%3A%20VBA%3A%20Dim%20i%20As%20Integer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3027519%22%20slang%3D%22en-US%22%3EI%20figured%20it%20out.%20It's%20a%20label%20I'm%20declaring%20for%20the%20.Cell%20reference.%3CBR%20%2F%3ESo%20when%20I%20want%20to%20reference%20a%20row%20I'm%20using%20the%20%22i%22%20label%3CBR%20%2F%3EAnd%20when%20I%20want%20to%20reference%20a%20column%2C%20I'm%20using%20the%20%22j%22%20label%3CBR%20%2F%3EI'm%20also%20using%20a%20worksheet%20reference%20using%20the%20%22c%22%20label.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20example%3CBR%20%2F%3ECell%20(i%2Cj)%3CBR%20%2F%3EWorksheet(c)%3C%2FLINGO-BODY%3E
New Contributor

How do I find out what "i" means, or what "j" means when I say "Dim i As Integer?"

 

Then I also see:
Dim c As Integer 

 

What???

1 Reply
I figured it out. It's a label I'm declaring for the .Cell reference.
So when I want to reference a row I'm using the "i" label
And when I want to reference a column, I'm using the "j" label
I'm also using a worksheet reference using the "c" label.

For example
Cell (i,j)
Worksheet(c)