dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,375
- Office Version
- 365
- 2016
- Platform
- Windows
I had this line of code in my spreadsheet and it worked, it just printed the formula in the cell.
All I did was add = before the RC and it gave me an error.
What else do I need to do?
Code:
.Range("J" & .Range("J" & .Rows.Count).End(xlUp).Row).Formula = "RC[-1]+RC[-2])"
All I did was add = before the RC and it gave me an error.
Code:
.Range("J" & .Range("J" & .Rows.Count).End(xlUp).Row).Formula = "=RC[-1]+RC[-2])"
What else do I need to do?