I recently converted about 100 IF statements into 1 For Next Loop for efficiency. But for some reason, the Loop is not working.
Here is what I have:
Dim intRow As Integer
For intRow = 2 To 150 Step 1
If Source = Cells(intRow, 3).Value Then Cells(intRow, 10).Value = Date
'Column 3 = C, Column 10 = J
Next intRow
My intensions are have column J give the Date if changes are made to the corresponding row in column C. Any help will be appreciated.
Here is what I have:
Dim intRow As Integer
For intRow = 2 To 150 Step 1
If Source = Cells(intRow, 3).Value Then Cells(intRow, 10).Value = Date
'Column 3 = C, Column 10 = J
Next intRow
My intensions are have column J give the Date if changes are made to the corresponding row in column C. Any help will be appreciated.