Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default integrate output from various workbooks in one workbook

Hi
This is perfectly doable.
Start by trying to get the info out of one workbook into life.xls. Once
you can do that, the others will be similar.
From life.xls you will probably need to

1. open the target workbook
2. Capture the data you need
3. Close the target workbook
4. Process and output the data within life.xls

1 and 3 are standard bits of code you can find in this newsgroup by
googling. You should be able to find code which allows you to browse to
the target file and save it after closing with a new name/location if
required. Part 2 might be as simple as copying a sheet or sheets to
life.xls, which you can delete after step 4.
Step 4 is the hard work and is particular to your problem, so examples
may not be much help.
See if the steps 1 to 4 are a strategy that suits your problem. If they
are, then try and ask questions in this group which are contained
within each step. The more specific and well defined the question, the
more help you will get.

regards
Paul

wrote:
I have a few different models in seperate excel workbooks ... one for
cars, one for houses, one for retirement accounts.. I recently had the

idea to take outputs from each of these models and plug them into a
single workbook something like life.xls. What I'm wondering is if there

is a way to wrap them (the house and car models) with an interface
(VBA?) which I can pass parameters and can call from a macro in
life.xls to retrieve the output from. Essentially I'd like each of the

workbooks (house,..cars) to be like a callable function into which I
can pass parameters, and which returns a value (in this case probably
an array of values). Is this possible? Am I trying to push excel too
far? Would it be simpler to just bite the bullet and abandon excel and

try and code this up in C++?

Maybe one step which might simplify the problem is if I make the
seperate models just sets of worksheets in the life.xls workbook. I'm
resisting this just because it's nice to have the models seperate for
organizational purposes.


Also if this seems doable are there any good examples out there for
reference?


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
HT Integrate copies of shared workbook automatically Katie Excel Discussion (Misc queries) 0 June 12th 09 05:48 PM
How Do I Integrate? Myles Excel Discussion (Misc queries) 2 January 18th 06 03:09 PM
integrate Peter Charts and Charting in Excel 1 December 3rd 05 03:14 AM
Diverting output to another workbook? Michael[_27_] Excel Programming 0 February 11th 04 05:56 PM
Using the output of a formula to name a workbook or sheet Jgrodz Excel Programming 1 September 14th 03 02:41 PM


All times are GMT +1. The time now is 05:19 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"