LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 268
Default Can Excel be setup to automatically sum imported data

Seeing that you are using VB to do the work, you can also use VB to enter the
formula to sum the relevant number of cells. You have to tell VB where to
start. Get this into 2 variables, increment the 1 variable every time you
write a new row, and at the end of the process you will have the start row
and end row for your SUM formula

"RobertJTJ" wrote:

I am creating data rows via Visual Basic and writing them to an Excel
template file. The data is composed of multiple groups and the number of rows
is variable. Is there a way to set up the template to perform an auto sum on
specific columns within each group of data rows?

 
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
Numbers/Text data missing from excel to excel query? RAMAERTE Excel Discussion (Misc queries) 0 May 8th 06 05:05 PM
Excel will not automatically refresh external data on open Distella Excel Discussion (Misc queries) 0 March 22nd 06 10:09 AM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Automatically transpose when pasting data in excel SSD1 Excel Worksheet Functions 3 July 18th 05 02:38 AM
How Do I specify where XML data gets imported into Excel Diane Excel Discussion (Misc queries) 1 April 29th 05 06:00 PM


All times are GMT +1. The time now is 11:43 PM.

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"