How can I select different cells instead of just 1 cell
LR = Sheets(SheetName).Range("CC" & Rows.Count).End(xlUp).Row
MyCol = 21
MyRow = 39
For i = 121 To 121
If Sheets(SheetName).Range("CC" & i).Value > 1 Then
Sheets("JJRobbins").Cells(MyRow, MyCol).Value = Sheets(SheetName).Range("CC" & i).Value
MyCol = 21
MyRow = MyRow + 1
End If
I am using this macro but now need to select range 121, 124, 127, & 130 so I thin the i = 121 is the problem but dont know to fix it?
LR = Sheets(SheetName).Range("CC" & Rows.Count).End(xlUp).Row
MyCol = 21
MyRow = 39
For i = 121 To 121
If Sheets(SheetName).Range("CC" & i).Value > 1 Then
Sheets("JJRobbins").Cells(MyRow, MyCol).Value = Sheets(SheetName).Range("CC" & i).Value
MyCol = 21
MyRow = MyRow + 1
End If
I am using this macro but now need to select range 121, 124, 127, & 130 so I thin the i = 121 is the problem but dont know to fix it?