Hello, I was able to use information provided here to fix a problem I had in some code & now I am trying something along the same line as before but with a little twist. I am taking every 45th cell in a column & transfering that info to another sheet in consecutive order.
The code below works great for that & I have been able to modify it slightly to get the correct info from one place & transfer it into another but I am wondering if there is someway to alter it so as to select a range of cells on each 45th row such as C37 to H37 on the "Daily Readings" sheet & have that equal C9 to H9 on the "River Temps". Any suggestions?
Thanks,
Joe
Sub Unit2Generation()
y = 11
For x = 9 To 1350 Step 45
Sheets("River Temps").Cells(y, 3) = Sheets("Daily Readings").Cells(x, 6)
y = y + 1
Next x
End Sub
The code below works great for that & I have been able to modify it slightly to get the correct info from one place & transfer it into another but I am wondering if there is someway to alter it so as to select a range of cells on each 45th row such as C37 to H37 on the "Daily Readings" sheet & have that equal C9 to H9 on the "River Temps". Any suggestions?
Thanks,
Joe
Sub Unit2Generation()
y = 11
For x = 9 To 1350 Step 45
Sheets("River Temps").Cells(y, 3) = Sheets("Daily Readings").Cells(x, 6)
y = y + 1
Next x
End Sub