Exporting data to Excel : Date in columns instead of rows

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Exporting data to Excel : Date in columns instead of rows

Postby DBel2012 » Sun Oct 14, 2012 5:39 am

Hello,

I' working with Eviews 6 (but migrating to Eviews 7 in a few weeks). I need to feed an Excel application that was developped a few years ago. I have annual and quarterly series in Eviews that need to be exported to an Excel file, with each series being reported in line instead of column.

My first idea was to work with matrix. But I'm not sure its a good idea.

Anyways, I'm looking for a code that would do the task. Hope someone can help me.

Thanks!

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

Re: Exporting data to Excel : Date in columns instead of row

Postby EViews Gareth » Sun Oct 14, 2012 3:54 pm

Code: Select all

write(t=xls, t) c:\temp\myfile.xls ser1 ser2 ser3

DBel2012
Posts: 69
Joined: Sun Sep 30, 2012 5:37 am

Re: Exporting data to Excel : Date in columns instead of row

Postby DBel2012 » Mon Oct 15, 2012 3:56 am

Thanks a lot Gareth!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests