Thanks for your help. The only problems I see is that I need a dynamic definition for the cells above the cell displaying the totals. =SUM(D14:OFFSET(D?,-1,0,1,1)). I can find the cell that I need the totals in easily:
ActiveSheet.Range("D14").End(xlDown).Offset(3, 0).Select
ActiveCell.FormulaR1C1 = "=Sum(X:X)"
How can I put something that will sum from D14 down to the cell with the formula. In other words, what code would be used to define a range from D14 to the cell directly above the cell with the formula regardless of the size?