Is VDF2XLS not working?!?! Please help!

Use this forum to post Vensim related questions.
Post Reply
merwin
Junior Member
Posts: 7
Joined: Fri Oct 15, 2010 7:59 pm

Is VDF2XLS not working?!?! Please help!

Post by merwin »

Hello.
I am working in Vensim DSS v5.9e. I have built a great Venapp, and I am trying to add a capability for the user to export the data from a dataset to an Excel file. The manual says that the MENU>VDF2XLS command is just like the MENU>VDF2TAB one and,

"If you use the command MENU>VDF2TAB with no options a dialog will appear just as for the Vensim menu command Model>Export Dataset command."

I implemented the command as so:

BUTTON,"Export Dataset",11,14,,,,,"MENU>VDF2XLS|||",

Nothing happens when I click the button. It does work, however, when I specify a dataset in the command (e.g. MENU>VDF2XLS|baseline.vdf||").

I want the user to be able to pick any dataset in the directory. Why isn't it working? Thank you for your help!

V/r,
Michael
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: Is VDF2XLS not working?!?! Please help!

Post by Administrator »

What happens if you try

BUTTON,"Export Dataset",11,14,,,,,"MENU>VDF2XLS",
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
merwin
Junior Member
Posts: 7
Joined: Fri Oct 15, 2010 7:59 pm

Re: Is VDF2XLS not working?!?! Please help!

Post by merwin »

Thank you so much! That worked, and I don't know if I would've ever thought to do that.
Post Reply