Sum new Column Added
assume the first column is Date and the second is the values to be summed.
icol = 10
Columns(icol).Resize(,2).Insert
cells(27,icol + 1).Formula = "=Sum(K1:K26)"
Change the 10 to the column number of the new column which will be the date
column.
--
Regards,
Tom Ogilvy
"Jul in Ohio" wrote:
I have Excell XP 2002, I have a macro that inserts two columns one is a date
field and one is a number field.
After inserting the number column I would like to have a macro to place a
sum formula in row 27 of the column. Any ideals.
I have tried a couple others that have been offered, and nothing seems to be
working.
|