Thread
:
Summing
View Single Post
#
5
Posted to microsoft.public.excel.programming
JWolf
external usenet poster
Posts: 136
Summing
Yep, it wouldn't. Do like Bob says and move the colon inside the quote
for the second V.
wrote:
It doesn't work. It doesn't like the colon. Thanks.
Any other thoughts?
-----Original Message-----
Two options:
Range("A" & m).formula = SUM("V" & m: "V" & (n-
1)) 'puts the formula
into the cell Am
Range("A" & m).Value = worksheetfunction.SUM("V" &
m: "V" & (n-1))
'puts the result of the sum into cell Am
wrote:
I want to set a column equal to the sum of some other
columns in a macro. It is not working. Can you
help.
This is what I have.
Range("A" & m).Value = SUM("V" & m: "V" & (n-1))
Thank you
.
Reply With Quote
JWolf
View Public Profile
Find all posts by JWolf