Page 1 of 1

Vensim to Excel

Posted: Wed Jul 18, 2012 11:32 am
by karankhosla
Hi everyone! I hope everything is going well with the Ventana community.

I should have asked this a long time ago:

St**la has a feature which creates a "persistent" link to an excel file and allows you to drive the excel file from the SD model - no programming required and very useful when making business plans (which ultimately go in excel format). I am not very good with DLL programming and wanted to find out if anyone have any ideas about creating a dynamic link such as this without too much programming? If no such way exists, what would be very helpful is if you could give me a few sample models which clearly show how a dll link is established between the two apps.

There are some excellent videos by Mohammad Jalali on creating an ODBC link with Access (hint!) - if you can think of anything for excel that would be great!

My Best,

Karan

Re: Vensim to Excel

Posted: Wed Jul 18, 2012 1:57 pm
by tomfid
It would take an external function to do this, which is serious programming.

A simpler approach is to write your output to an Excel-readable file (i.e. use VDF2TAB or VDF2XLS), and link your spreadsheet to that.

Re: Vensim to Excel

Posted: Thu Jul 19, 2012 5:10 am
by karankhosla
Thanks Tom! I presume I could try an ODBC connection from Vensim to Excel, on the lines of the Mohammed Jalili's tutorial too?

Re: Vensim to Excel

Posted: Thu Jul 19, 2012 9:09 am
by Administrator
You could try that. The ODBC interface is a little tricky to set up though.