Urgent: Export data to Excel (EV 6)

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Urgent: Export data to Excel (EV 6)

Postby nadja123 » Mon Aug 02, 2010 7:38 am

Hi there,

I have a .wf1 with several pages and would like to write data series from each page (they have the same names) into several pages of a newly created .xls file. It seems that EV 6 does not support creation of Excel sheets or writing to a sheet with a particular name. Is my impression correct?

Simplified example:

Code: Select all

' the code iterates over %x (page names and sheet names) write(t=xls,names,dates,s={%x}) filename.xls series1 series2

This gave no error messages, but wrote each set of series into one and the same Excel sheet, named "filename". The resulting .xls file contained only this one sheet and data from the last .wf1 page.

Can please someone suggest a workaround I could use in my code? Thanks for helping!

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

Re: Urgent: Export data to Excel (EV 6)

Postby EViews Gareth » Mon Aug 02, 2010 7:56 am

EViews is only capable of creating dumb Excel files, and as such does not support sheet names.

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Re: Urgent: Export data to Excel (EV 6)

Postby nadja123 » Mon Aug 02, 2010 9:12 am

Thanks Gareth, although this is precisely the answer I was afraid of. I will work this around by creating several .xls files, each with the page name as I anyway need to work with them in another software. But may I perhaps ask you to add this to suggestions and requests for EV development? Thanks, bye.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests