LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Dave
 
Posts: n/a
Default Using the SUM Formula

I'm creating a macro that uses a selected form with several preinserted
sections (with a header, two item descriptions, then costing totals at the
bottom of each section). At the very bottom of the form, I have the Form
Totals, which adds up all the totals from each section above.

My question is, the macro will be used to insert a new section just above
the total line. How do I write the VBA code (using Excel 2000), to insert
the formula on the Section Total Line for each of the 4 columns in the
section.

For example:

Item Description 1 100 200 300 400
Item Description 2 250 250 450 850

Section Total 350 450 750 1250

I need to use the SUM so I can add more descriptions individually later.

I know this has been done many times before, but I'm having trouble figuring
it out. Any help would be appreciated. Thanks.



 
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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 05:33 AM.

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

About Us

"It's about Microsoft Excel"