View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Metrazal[_32_] Metrazal[_32_] is offline
external usenet poster
 
Posts: 1
Default Sum Range and enter results in the last row of the column


I could not get either of those to work. Following are the actual
columns that I want to total on the last line. Also, I would like to
put the text "TOTAL:" in column A.

Any ideas?

Thanks,

Met


Application.sum (Range("D2:D"))
Application.sum (Range("E2:E"))
Application.sum (Range("F2:F"))
Application.sum (Range("G2:G"))
Application.sum (Range("H2:H"))
Application.sum (Range("I2:I"))
Application.sum (Range("J2:J"))
Application.sum (Range("K2:K"))
Application.sum (Range("L2:L"))
Application.sum (Range("M2:M"))
Application.sum (Range("N2:N"))
Application.sum (Range("O2:O"))
Application.sum (Range("P2:P"))
Application.sum (Range("Q2:Q"))
Application.sum (Range("R2:R"))


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=519383