Get XLSX data

Use this forum to post Vensim related questions.
Post Reply
luisangelguzmang
Member
Posts: 42
Joined: Wed Apr 06, 2011 8:20 am

Get XLSX data

Post by luisangelguzmang »

Hi, I have several problems trying to get data from an excel 2010 file. There is the error message:
Error message
Error message
1.jpg (22.86 KiB) Viewed 4888 times
My equation is:
Equation
Equation
1.jpg (26.99 KiB) Viewed 4888 times
And the excel file is:
Excel file
Excel file
1.jpg (61.28 KiB) Viewed 4888 times
Can you help me to fix the error?
Thks
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Re: Get XLSX data

Post by Administrator »

Can you upload the model and Excel file? Or at least a model with the one parameter and Excel file so we can check the call?

Screenshots are not very useful.
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
luisangelguzmang
Member
Posts: 42
Joined: Wed Apr 06, 2011 8:20 am

Re: Get XLSX data

Post by luisangelguzmang »

Sure...
Thks
Attachments
Model.mdl
(1.93 KiB) Downloaded 418 times
Energy_Bogota.xlsx
(39.22 KiB) Downloaded 522 times
luisangelguzmang
Member
Posts: 42
Joined: Wed Apr 06, 2011 8:20 am

Re: Get XLSX data

Post by luisangelguzmang »

I get the Vensim DDS V6.1
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Re: Get XLSX data

Post by Administrator »

Try changing
GET XLS DATA('data\Energy_Bogota.xlsx','PE C02','1','B3')
to
GET XLS DATA('data\Energy_Bogota.xlsx','PE CO2','1','B3')
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
luisangelguzmang
Member
Posts: 42
Joined: Wed Apr 06, 2011 8:20 am

Re: Get XLSX data

Post by luisangelguzmang »

Sooorry
Post Reply