Hi,
I am trying to write a formula with some variables passed into it. i want to sum up part of a column based on a date range (i've got the range already).
here's what i've got.....
...the column is column O and i want iloop & ilast2 to be the variable numbers i pass into the formula. it doesn;t seem to work though.![]()
ActiveCell.Formula = "=SUM([CourierClaims.xls]TNT!$O" & iloop & ":$O" & ilast2)"
Can anyone see where i'm going wrong.
Thanks.
Bookmarks