Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel formula in VBA
How would I enter the Excel fromula SUM(A1,A3) into a macro. I am getting
confused on the different methods ie, R1C1 etc. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel formula in VBA
Maybe
myvalue = WorksheetFunction.Sum(Range("a1:a3")) Mike "bgkgmg" wrote: How would I enter the Excel fromula SUM(A1,A3) into a macro. I am getting confused on the different methods ie, R1C1 etc. Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel formula in VBA
maybe this?
range("C3").Formula = "=sum(A1,A3)" -- Gary "bgkgmg" wrote in message ... How would I enter the Excel fromula SUM(A1,A3) into a macro. I am getting confused on the different methods ie, R1C1 etc. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
When I enter a formula, Excel shows the formula not the results | Excel Worksheet Functions | |||
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible | Excel Discussion (Misc queries) | |||
Build excel formula using field values as text in the formula | Excel Worksheet Functions | |||
match formula - 2 excel files:#1 hasthis formula, 2nd has the Raw | Excel Worksheet Functions | |||
Excel 2002 formula displayed not value formula option not checked | Excel Worksheet Functions |