I'm trying to set a selected portion of the TotalsRowRange to sum from column 6 to the last column.
This is the recorded code which uses the column headings which does the job, however these names will change and so will the table's size:
I wish to do this using the Cells property where I can claculate what the last row and column will be but can't get it to work.
I've got the correct count of lrow (9) and lastcol (58) and have tried and failed with the following:
So the addresses for source cell is correct and the destination autofill range is correct, however it doesn't seem to do anything.
What's missing?
Bookmarks