Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everybody,
I want to add H1:H5, after that H9:H16, etc... If I use this code it doesn't work for me because my range in H won't be the same everytime and the total will be always for the same range. Range("H13").Select ActiveCell.FormulaR1C1 = "=SUM(R[-5]C:R[-1]C)" Range("H23").Select ActiveCell.FormulaR1C1 = "=SUM(R[-8]C:R[-1]C)" Range("H26").Select How to write the right code? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create Pivot Table Data with Column "Sum" rather than "count" defa | Excel Discussion (Misc queries) | |||
Chg 1 "Last, First Mid" column to 3 "First", "Middle", "Last" colu | Excel Discussion (Misc queries) | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
How to entre a "pattern" in a column chart? "used to be in 2003" | Excel Discussion (Misc queries) | |||
How do I change the column heading in Excel to display "A" "B" "C | New Users to Excel |