Ah, in the actual main spreadsheet, the number of rows will vary wildly, anywhere between 1 and a few hundred, (my sample was maybe slightly too simplistic), so this would need to be able to account for varying numbers of rows, is that possible to achieve?
The other thing I ideally need to do is to add a total to Column D on each new tab (ideally with the cell, formatted in the same way as the header row), with a blank row between the last entry and the total. I tried adding
before the EndIF, but that doesn't work.
Many thanks...
Bookmarks