MARKEGANDERSON
Active Member
- Joined
- Apr 7, 2007
- Messages
- 267
HELLO ALL:
i am trying to redo a Macro. I can figure out what most of the formulas are.
Can anyone tells me what "i" signifies in the below?
If Cells(i, 5).
Sub HQ()
Dim lusedrow As Long
Dim desc As String
Dim wkb As Workbook
Set wkb = ActiveWorkbook
wkb.Worksheets("Theater Data").Activate
lusedrow = ActiveSheet.Cells(Rows.Count, 5).End(xlUp).Row
MsgBox lusedrow
For i = 2 To lusedrow
'Check for SUV
If Cells(i, 5).Value Like "*SUV*" And Cells(i, 7).Value < 556 Then
Cells(i, 8).Value = "U"
i am trying to redo a Macro. I can figure out what most of the formulas are.
Can anyone tells me what "i" signifies in the below?
If Cells(i, 5).
Sub HQ()
Dim lusedrow As Long
Dim desc As String
Dim wkb As Workbook
Set wkb = ActiveWorkbook
wkb.Worksheets("Theater Data").Activate
lusedrow = ActiveSheet.Cells(Rows.Count, 5).End(xlUp).Row
MsgBox lusedrow
For i = 2 To lusedrow
'Check for SUV
If Cells(i, 5).Value Like "*SUV*" And Cells(i, 7).Value < 556 Then
Cells(i, 8).Value = "U"