Importing from excel
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Importing from excel
Good Morning,
I am need to import a file from excel, but i don't wanna loose my layout. for this I mean that I want to keep my inicial lines and start importing from an underneath line. Is this possible? I will send a sample.
I am need to import a file from excel, but i don't wanna loose my layout. for this I mean that I want to keep my inicial lines and start importing from an underneath line. Is this possible? I will send a sample.
- Attachments
-
- import.xlsx
- (177.99 KiB) Downloaded 642 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Importing from excel
On Step 2 of the Excel read dialog, state that there are 3 header lines, and that the Header type is "Names in last line". Then hit Finish.
Re: Importing from excel
I'm sorry, but I tried here and didn't worked.
Where should I put "Names in last line", in the eviews program, or in excel workfile?
Thx
Where should I put "Names in last line", in the eviews program, or in excel workfile?
Thx
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Importing from excel
Yes, this is what I want. But, is there any way of doing this by a program?!
Thx
Thx
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Importing from excel
Code: Select all
wfopen import.xlsx colhead=3 namepos=last
Re: Importing from excel
I would appreciate if you could show the code for how to import data from an excel file in the range D7-P4000 and the names were in D7-P7.
Thanks
Charlotte
I have attached the file. I would like to read the data CDATE, SOURCE, .... TY1_OPD1 starting in D7. Thanks
Thanks
Charlotte
I have attached the file. I would like to read the data CDATE, SOURCE, .... TY1_OPD1 starting in D7. Thanks
- Attachments
-
- Futures_data.xls
- (1.19 MiB) Downloaded 488 times
Last edited by chansen on Fri Mar 15, 2013 7:14 am, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Importing from excel
Hard to say without seeing the file. Did you try:
?
Code: Select all
wfopen myfile.xls
Re: Importing from excel
I uploaded my file to my previous post. I would greatly appreciate if you could write the programming line for how to import it.
Tanks
Tanks
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Importing from excel
Code: Select all
wfopen c:\temp\futures_data.xls range="Sheet1!$D$7:$P$4000"
Who is online
Users browsing this forum: No registered users and 1 guest
