If you record a macro for a regular process but you do not know how many
rows of data will be needed each month how do you change script to cater for
say a total being needed at end of the last rows.
Bob Phillips - 12 Jan 2006 09:10 GMT
Something like
iLastRow = Cells(Rows.Count,"A").End(xlUp).Row
Cells(iLastRow+1,"A") = ... your sum formula

Signature
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
> If you record a macro for a regular process but you do not know how many
> rows of data will be needed each month how do you change script to cater for
> say a total being needed at end of the last rows.
yetti - 13 Jan 2006 07:28 GMT
Your help is most appreciated thank you
> If you record a macro for a regular process but you do not know how many
> rows of data will be needed each month how do you change script to cater
> for say a total being needed at end of the last rows.