Thread: Sum a column
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
newbie04 newbie04 is offline
external usenet poster
 
Posts: 1
Default Sum a column

I know the logic to do this scenerio, except i dunno how the summin
part works. My code is shown below

Worksheets(a).cells(i,j)Select
ActiveCell.formula = "=SUM(R[-z]C:R[-1]C)"


It seems that the second line is wrong. Do someone know the reason?

Thk u

--
Message posted from http://www.ExcelForum.com