Export data to existing excel file

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

johansamuelsson
Posts: 160
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Export data to existing excel file

Postby johansamuelsson » Thu May 10, 2012 8:43 am

Hi

At our institute (NIER, http://www.konj.se) we are now changing from Aremos to Eviews for calculations of macroeconomic forecasts. Very often we combine heavier computation with excel files that sometimes are a better interface. We have therefore a great need to export data to existing excel files.

As we have noted previously it works fine to load data into existing excel file via VBA. But it requires a relatively good knowledge of VBA coding.

As an alternative, it would be highly desirable to be able to export data directly from a workfile to an existing Excel file via code in Eviews.

Are there any plans for this? Thanks in advance.

Johan

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Thu May 10, 2012 8:47 am

It is extremely high up our list.
Follow us on Twitter @IHSEViews

johansamuelsson
Posts: 160
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Re: Export data to existing excel file

Postby johansamuelsson » Thu May 10, 2012 10:31 am

Great!

johansamuelsson
Posts: 160
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Re: Export data to existing excel file

Postby johansamuelsson » Wed Sep 05, 2012 10:38 am

EViews Gareth wrote:It is extremely high up our list.


What about this issue?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Wed Sep 05, 2012 10:57 am

It is still extremely high on our list, and should be implemented in the next version of EViews.
Follow us on Twitter @IHSEViews

paues
Posts: 169
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: Export data to existing excel file

Postby paues » Wed Sep 12, 2012 12:56 am

Do you by "next version" mean EViews 7.3 or EViews 8?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Wed Sep 12, 2012 7:03 am

8
Follow us on Twitter @IHSEViews

victor.alves
Posts: 4
Joined: Thu Feb 21, 2013 1:18 pm

Re: Export data to existing excel file

Postby victor.alves » Thu Feb 21, 2013 1:43 pm

Is that already possible on Eviews 8 Beta?

Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Thu Feb 21, 2013 1:51 pm

Yes
Follow us on Twitter @IHSEViews

davey87
Posts: 24
Joined: Tue Feb 05, 2013 12:18 pm

Re: Export data to existing excel file

Postby davey87 » Mon Mar 11, 2013 6:36 am

Using EViews 8 Beta, I am trying to export data from a workfile to an exisiting Excel file using the following commands:

Code: Select all

for %a 0to4 5to9 10to14 15to19 20to24 25to29 30to34 35to39 40to44 45to49 50to54 55to59 60to64 65to69 70to74 75to79 80to84 85to89 90plus
wfsave(type=excelxml, mode=update) range="Sheet1!d54" byrow popm.xlsm @keep p{%a}mz1m
next


However when I run it I am getting an Error Message that says:

Syntax error: unexpected character '.' in file option settings in "WFSAVE(TYPE=EXCELXML, MODE=UPDATE) RANGE="SHEET1!D54" BYROW POPM.XLSM @KEEP P0TO4MZ1M"

Any idea why this may be happening?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Mon Mar 11, 2013 8:21 am

Excel file name goes before the Range= statement.
Follow us on Twitter @IHSEViews

davey87
Posts: 24
Joined: Tue Feb 05, 2013 12:18 pm

Re: Export data to existing excel file

Postby davey87 » Mon Mar 11, 2013 9:11 am

Ok thanks. But just so you guys are aware, in the EViews 8 Beta Documentation examples under "wfsave", it is the other way around. The example is provided like this:

Code: Select all

wfsave(type=excelxml, mode=update) range=”Sheet2!a1” byrow
macro.xlsm @keep gdp unemp

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13315
Joined: Tue Sep 16, 2008 5:38 pm

Re: Export data to existing excel file

Postby EViews Gareth » Mon Mar 11, 2013 9:16 am

Yep, that's a mistake. I'll make sure it gets fixed.
Follow us on Twitter @IHSEViews

paues
Posts: 169
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: Export data to existing excel file

Postby paues » Fri Apr 05, 2013 3:32 am

Please note that the example provided by davey87 was not updated in the documentation that comes with EViews 8. Is it possible for you to update it in when you release patches?


Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 13 guests