Changing vdf data sources from Excel using dll
Posted: Wed Dec 18, 2019 11:16 pm
Hi Folks,
Looking to understand what would be the recommended way to change a vdf input data source when interacting with a vensim package file using vensim_dll from Excel please. With Excel files, one can use the "SIMULATE>SPREADALIAS" command to change the input xls file (to use with say GET XLS DATA). However, is there an equivalent where you can change the input string for a vdf file from Excel?
By way of context, we have a single string variable which has the filename and path to use for any GET VDF DATA calls, but looking for a way to be able to manipulate that on the fly when running from Excel.
Many thanks,
Dave
Looking to understand what would be the recommended way to change a vdf input data source when interacting with a vensim package file using vensim_dll from Excel please. With Excel files, one can use the "SIMULATE>SPREADALIAS" command to change the input xls file (to use with say GET XLS DATA). However, is there an equivalent where you can change the input string for a vdf file from Excel?
By way of context, we have a single string variable which has the filename and path to use for any GET VDF DATA calls, but looking for a way to be able to manipulate that on the fly when running from Excel.
Many thanks,
Dave