Hi,
I have a Marco, which i run on data of variable length, each month. The Macro populates Formulas in different parts of the Workbook.
Some months, it will have to Sum 4 fields, =Sum(J1:J4) and others a completely different amount of fields =Sum(J1:J36).
The Auto Sum function on the workbook always picks up the right fields, it=s there a way i can insert this into the code? the current line is
.Range("I" & intRow).formula = '{I'd like this to be AutoSum, might need to change the .formula}
Thanks in advance for any help or advice that you provide.
Ian
Bookmarks