wfopen - 2 Excel files, 1 workfile

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

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

cap
Posts: 55
Joined: Fri Oct 17, 2008 11:47 am

wfopen - 2 Excel files, 1 workfile

Postby cap » Wed Jul 29, 2009 9:45 am

Hello,

Is there a way to use wfopen to get open two Excel files into one Eviews workfile? Using wfopen for a 2nd time just creates a 2nd workfile...


Thanks,
-cap

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

Re: wfopen - 2 Excel files, 1 workfile

Postby EViews Gareth » Wed Jul 29, 2009 11:31 am

Pageload
Follow us on Twitter @IHSEViews

cap
Posts: 55
Joined: Fri Oct 17, 2008 11:47 am

Re: wfopen - 2 Excel files, 1 workfile

Postby cap » Wed Jul 29, 2009 12:13 pm

Sorry, I should have stated that I wanted the series from multiple Excel files to be in the same page, not just the same workfile.

So, is there a way to get all of the series from different pages onto the same page? It appears having the series on different pages will not allow you to use them simultaneously (eg, @cor(series1, series2) does not work if the series are on different pages)

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

Re: wfopen - 2 Excel files, 1 workfile

Postby EViews Gareth » Wed Jul 29, 2009 12:44 pm

You can use the READ command to read Excel data into an existing workfile page.

Possibly easier is to use the PAGELOAD command to open the Excel file into a new page, then use the COPY command to copy the series you want into your current page.
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 33 guests