Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 226
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing Formula fields in Pivot Tables? Pat Dools Excel Discussion (Misc queries) 3 February 16th 09 08:09 AM
Summing Fields 2 kiwiplug6484 Excel Discussion (Misc queries) 4 May 21st 08 04:28 PM
Summing Fields kiwiplug6484 Excel Discussion (Misc queries) 1 May 20th 08 08:26 PM
Summing fields based on color neilh92064 Excel Discussion (Misc queries) 0 November 13th 07 07:39 PM
Summing Fields with Multiple Criteria bpliskow Excel Discussion (Misc queries) 1 February 17th 06 05:43 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"