Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Disregarding the actual formula, it needs to be applied to the ActiveCell AS WELL AS the second, third, and fourth columns to the right ... ActiveCell.FormulaR1C1 = "=SUBTOTAL(9,R[-3]C:R[-1]C)+R[-4]C" Is there an array that will select - paraphrased - ActiveCell.Offset r-0 c-0,2,3,4, or something like that?? Any assistance is greatly appreciated. Regards, - Mike |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In Excel, formulas return values to the cell in which the formula resides.
It cannot perform selections as in VBA, but it can use a specific range of cells to perform calculations. You cannot use variables in Excel formulas that are manually entered but you can use named ranges. "MikeF" wrote: Disregarding the actual formula, it needs to be applied to the ActiveCell AS WELL AS the second, third, and fourth columns to the right ... ActiveCell.FormulaR1C1 = "=SUBTOTAL(9,R[-3]C:R[-1]C)+R[-4]C" Is there an array that will select - paraphrased - ActiveCell.Offset r-0 c-0,2,3,4, or something like that?? Any assistance is greatly appreciated. Regards, - Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If activecell.column = variable then activecell,offset (0,1) | Excel Discussion (Misc queries) | |||
How to Revert to ActiveCell.Formula = format from ActiveCell.FormulaR1C1 = format | Excel Programming | |||
ActiveCell.Formula Help | Excel Programming | |||
ActiveCell.Formula | Excel Programming | |||
Formula with an ActiveCell | Excel Programming |