Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Summing Fields
With each line entered into my spreadsheet I want =SUM(N3:R3) to adjus
to the row I am inserting into. Any suggestions? ActiveCell.Offset(0, 18) = "=SUM(N3:R3) -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Summing Fields
Try with
ActiveCell.FormulaR1C1 = "=SUM(RC14:RC18)" -- Regards Juan Pablo González "stck2mlon " wrote in message ... With each line entered into my spreadsheet I want =SUM(N3:R3) to adjust to the row I am inserting into. Any suggestions? ActiveCell.Offset(0, 18) = "=SUM(N3:R3)" --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Summing Fields
Sorry, forgot the Offset..
ActiveCell.Offset(0, 18).Formula = "=SUM(RC14:RC18)" -- Regards Juan Pablo González "stck2mlon " wrote in message ... With each line entered into my spreadsheet I want =SUM(N3:R3) to adjust to the row I am inserting into. Any suggestions? ActiveCell.Offset(0, 18) = "=SUM(N3:R3)" --- Message posted from http://www.ExcelForum.com/ |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Summing Fields
Ok, now I forgot the R1C1 !!
ActiveCell.Offset(0,18).FormulaR1C1 = "=SUM(RC14:RC18)" -- Regards Juan Pablo González "Juan Pablo González" wrote in message ... Sorry, forgot the Offset.. ActiveCell.Offset(0, 18).Formula = "=SUM(RC14:RC18)" -- Regards Juan Pablo González "stck2mlon " wrote in message ... With each line entered into my spreadsheet I want =SUM(N3:R3) to adjust to the row I am inserting into. Any suggestions? ActiveCell.Offset(0, 18) = "=SUM(N3:R3)" --- Message posted from http://www.ExcelForum.com/ |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Summing Fields
Man, it seems everyone here is incredibly good. Thanks a ton
-- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Summing Formula fields in Pivot Tables? | Excel Discussion (Misc queries) | |||
Summing Fields 2 | Excel Discussion (Misc queries) | |||
Summing Fields | Excel Discussion (Misc queries) | |||
Summing fields based on color | Excel Discussion (Misc queries) | |||
Summing Fields with Multiple Criteria | Excel Discussion (Misc queries) |