Hi All,
I know there are ways to export series to Excel, but is there a command that allows for the export of tables to an Excel file, something along the lines of the write (t=xls) c:\documents\file.xls t_table
Thank you.
Exporting table to Excel
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Exporting table to Excel
EViews won't save a table directly to an Excel file, but it will save it as a CSV file (which Excel will open with no problems):
tablename.save(t=csv) c:\documents\file.csv
tablename.save(t=csv) c:\documents\file.csv
Re: Exporting table to Excel
Hi all,
has any imporvement been made in eviews 7 in regards to the above issue or does this continue to be the case still ?
Thanks.
has any imporvement been made in eviews 7 in regards to the above issue or does this continue to be the case still ?
Thanks.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Exporting table to Excel
No change.
Re: Exporting table to Excel
The last line in the following commands did not workEViews won't save a table directly to an Excel file, but it will save it as a CSV file (which Excel will open with no problems):
tablename.save(t=csv) c:\documents\file.csv
I get the error message "SAVE is not a valid view for TABLE3B in "DO_TABLE3B.SAVE(T=CSV) c:\documents\table3b.csv"."modelbame.makegroup(s=m) table3b variablename1 variablename2
table3b.dtable
table3b.ddtabopts firstfreq(a) secfreq(none) display(year,7)
table3b.save(t=csv) c:\documents\table3b.csv
Does anybody know what gets wrong here?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Exporting table to Excel
Your object, table3b, is not a table. It is a group. You'll need to freeze it into a table before saving.
Re: Exporting table to Excel
Seems like the freeze command freezes the raw data of the group, which is quaterly, and not the formated data, which is annual.
Is it possible to freeze the group as it is viewed?
Is it possible to freeze the group as it is viewed?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Exporting table to Excel
Code: Select all
table3b.ddtabopts firstfreq(a) secfreq(none) display(year,7)
freeze(tab1) table3b.dtable
-
nevernotnone
- Posts: 3
- Joined: Mon Jan 25, 2016 8:35 am
Re: Exporting table to Excel
Any update on this? I have a program that generates a number of summary tables that I would like to be able to write as multiple sheets within a single excel file.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 2 guests
