Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've seen several past postings that imply formulas should
be entered as text ("=sum(A" + trim(str(firstrow)) +":A"+trim(str(lastrow))+")" that activecell.text = . . . is the same as activecell.formulaR1C1 = . . . However, the following lines of code makes me believe this is not exactly correct? ActiveCell.FormulaR1C1 = "=SUM(R[-3]C:R[-1]C)" ActiveCell.FormulaR1C1 = "=SUM(R1C:R3C)" How would I use variables instead of numbers and/or offsets? x=1 y=3 ActiveCell.FromulaR1C1 = "=SUM(RxC:RyC)" Thanks for any/all assistance, David Fixemer |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nested formula to search a text string and return specific text | Excel Worksheet Functions | |||
Formula Text String: Formatting Text and Numbers? | Excel Discussion (Misc queries) | |||
Link to text and return text into a formula? | Excel Worksheet Functions | |||
Excel:Get concatenated text to be recognised as formula not text? | Excel Discussion (Misc queries) | |||
Formula to count text and alert me if a text appears more than twi | Excel Discussion (Misc queries) |