I have a spreadsheet that I calculate data every day on. I need the word current to be placed in a specific cell about 22 less than the last row. I have tried a couple of combinations of code that don't work. I was hoping for some help. Here is what I have:
Note: R5 is the calculation of the cell where I want the word to go.
Note: R5 is the calculation of the cell where I want the word to go.
Code:
R1 = ActiveSheet.UsedRange.Rows.Count
R2 = "F" & R1
'R3 = "A" & R1
R4 = R1 - 17
R5 = "I" & R4
SR = R1 - 22
ActiveWindow.ScrollRow = SR
Range(R2).Select
Worksheets("wbResults").Range("R5").Value = "Current"