I am trying to loop through data with the same if statement but once the if statement is fulfilled the first time the loop no longer calls the if statement for some reason, can someone please help?
here is my code:
*Row = 6 at this point
Do Until Row = 36
If ActiveSheet.Cells(Row, Col).Value2 = "V" Then
Sheets("Vacation").Select
ActiveSheet.Cells(Row, 3).Select
ActiveCell = ActiveSheet.Cells(Row, 3).Value2 + 1
ActiveCell.End(xlToRight).Select
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = today
End If
Row = Row + 1
Loop
here is my code:
*Row = 6 at this point
Do Until Row = 36
If ActiveSheet.Cells(Row, Col).Value2 = "V" Then
Sheets("Vacation").Select
ActiveSheet.Cells(Row, 3).Select
ActiveCell = ActiveSheet.Cells(Row, 3).Value2 + 1
ActiveCell.End(xlToRight).Select
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = today
End If
Row = Row + 1
Loop