J
john.novotny
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?
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?