Hi, has anybody had success with updating parts of formulae in a group of Excel cells by using VBA in a macro? I have a number of cells all in the same column on one worksheet that reference different ranges of cells on a source worksheet called ‘Current extract’. The ranges on the source worksheet each span all rows of that worksheet.
For example, one target cell has formula “=COUNTA(‘ Current extract’!D4:D286)”
Another target cell has formula “=COUNTIF(‘Current extract’!U4:U286,”P/S*”)”
I am trying to use a macro to automatically update the upper bound (286 in these examples) to whatever the new value of the source data last row happens to be each time it is refreshed. Any ideas would be appreciated.
Cheers,
Peter
Australian devotee