swaink
Active Member
- Joined
- Feb 15, 2002
- Messages
- 432
Hi All
Are you able to assist please
In my spreadsheet I have headers in row 4 from column I to Z
I am looking to put a sum of each column in row 4 and am looking to do this using vba
I have enabled my code to identify the last row to aid me with the formula but am struggling to get the formaula applied across all of the columns
The formulas will start in cell I4 but my formula below is not working
[I4].End(xlRight) = "=Sum(" & Range([I4], & lastrow) & ")"
Any advise is appreciated
Regards
Kevin
Are you able to assist please
In my spreadsheet I have headers in row 4 from column I to Z
I am looking to put a sum of each column in row 4 and am looking to do this using vba
I have enabled my code to identify the last row to aid me with the formula but am struggling to get the formaula applied across all of the columns
The formulas will start in cell I4 but my formula below is not working
[I4].End(xlRight) = "=Sum(" & Range([I4], & lastrow) & ")"
Any advise is appreciated
Regards
Kevin