Sum Dynamic Range - VBA
Thanks Dick and Vaca.
What I am trying to do is SUM a dynamic range...but I need the total at
the top of the page (i.e. - cell F2). The range I want to sum begins
in F4 and is dynamic from there. I was trying to save F4 to a variable
(variable - myFirstCell)....and then jump to the last cell in the
column and save that address to a variable as well (variable -
myLastCell). After that....I want to go to cell F2 and add the two
variables to get a value.
I want the formula in F2 to be =SUM(myFirstCell:myLastCell)
Thanks for your help.....
Chris
|