Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a small piece of code in my program that looks like this:
Range("J1").Select 'Make Cell J1 Active ActiveCell.FormulaR1C1 = "=SUM(R[4]C:R[504]C)" 'Calc. sum for Cells J5 to J505 However I now need to put the result of the Autosum into a variable. I have used: Range("J1).Select Variable = ActiveCell and Variable = ActiveCell.FormulaR1C1 = "=SUM(R[4]C:R[504]C)" But neither of these seem to work as the variable is still empty. Can anyone point me in the right direction? Thanks Neil |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How 2 sort an autosum total list after adding items 2 autosum item | Excel Discussion (Misc queries) | |||
autosum | Excel Discussion (Misc queries) | |||
Autosum | Excel Discussion (Misc queries) | |||
autosum | Excel Worksheet Functions | |||
Autosum | Excel Discussion (Misc queries) |