I am trying to learn how to program.
I am using the example files Eviews has.
I go to sample files and copy the equation folder to the Desktop. Then, I open testarma and below "* fill series" I erase what is there and put: read(sheet1,a1) book2.xlsx v. Book2 is an excel file which is in the same folder as testarma and sub_arma. It has x observations in the first column (which I call it v)
Then, I also substitute in "*call subroutine" gnp by v.
I run it, and I get an error saying that eviews cannot find Book2 in the directory C:\...\grad\Book2.xlxs, which is a folder within the sample files where I originally got the programs from... But I copied them to a new folder.
Why is eviews looking for Book2 in that folder if I am working from another folder in my Desktop???
How to use Eviews sample files?
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to use Eviews sample files?
The READ command cannot see .xlsx files. READ should not be used, ever. Use WFOPEN or IMPORT instead.
Who is online
Users browsing this forum: No registered users and 1 guest
