storemannequin
Board Regular
- Joined
- May 29, 2010
- Messages
- 108
I'm trying to replace the hard-coded in "AW" column with a variable for the final column but can't figure out how to situate it in this line of code, also in the formula. I want to sum the content of the last column from the first cell to the very last:
Code:
Range("AW" & TotalRw).Formula = "=SUM(AW2:AW" & TotalRw - 1 & ")"