Search found 21 matches

by ian.e.preston
Wed Sep 23, 2015 6:08 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

Very strange. Now it works. I'm able to do the same thing on other xlsx files. Any thoughts on what makes this one different?
by ian.e.preston
Tue Sep 22, 2015 11:11 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

I think I'm missing something here. Are we talking about the excel file or the eviews file? Here are the combinations I can think of, and the outcomes that result from them: Attempt to import into eviews without Excel open: -Importing the data via script claims.prg - previously quoted error message ...
by ian.e.preston
Tue Sep 22, 2015 10:41 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

Ok, I recoded the query so dates are in chronological order. Same error.
by ian.e.preston
Tue Sep 22, 2015 9:54 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

Not sure what you mean by interactively. Can you clarify? I'm stumped too, this file is generated by Cognos report studio, saved on a network drive. Other reports generated in the same manner saved in the same location don't have this issue. The one distinction I can think of is that the date is sor...
by ian.e.preston
Tue Sep 22, 2015 9:32 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

Saved the file to my desktop, it was on a network mapped drive before. Exact same issue.
by ian.e.preston
Tue Sep 22, 2015 8:17 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

I can't actually. IT at work has pretty strict version control. I'd have to make a whole business case etc.
by ian.e.preston
Tue Sep 22, 2015 7:59 am
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

Same issue. If I run it with the excel file closed I get this error: Unable to determine date format of object CLAIM in [PATH] range=Page1_1!$A$1:$L$300 colhead=1 na="#N/A" @freq M @id @date(claim) @smpl @all If I open the excel file first and then run the program it's fine. Excel 2010 and...
by ian.e.preston
Mon Sep 21, 2015 2:33 pm
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Re: Making Eviews open excel

That does seem best. Here you go.
Import code is as follows:

Code: Select all

%secfrom = [path]\LTC_Sec_monthly.xlsx" import %secfrom range=Page1_1 @id Claim @destid @date
by ian.e.preston
Mon Sep 21, 2015 2:11 pm
Forum: Programming
Topic: Making Eviews open excel
Replies: 15
Views: 10139

Making Eviews open excel

I have a program that imports data from an excel file. For some reason it will only successfully import the data if I have the excel file open prior to running the program. This is not an issue with other excel files. What I'd like to do as a hack-y solution is just call excel to open the file from ...
by ian.e.preston
Mon Jul 06, 2015 10:30 am
Forum: Estimation
Topic: Tobit Forecast error
Replies: 10
Views: 6543

Re: Tobit Forecast error

Thanks for the update. My company is quite slow about implementing patches. I'll verify the fix and report back when possible.
by ian.e.preston
Mon Jul 06, 2015 8:30 am
Forum: Programming
Topic: @keep vs @drop
Replies: 7
Views: 4779

Re: @keep vs @drop

April 20 2015.
by ian.e.preston
Mon Jul 06, 2015 6:33 am
Forum: Programming
Topic: @keep vs @drop
Replies: 7
Views: 4779

Re: @keep vs @drop

lmi_t, but the issue is the same with whatever series I try.
by ian.e.preston
Fri Jul 03, 2015 2:16 pm
Forum: Programming
Topic: @keep vs @drop
Replies: 7
Views: 4779

Re: @keep vs @drop

Sure. I've also attached the program I'm using
Right now it's using drop, which as you can see is cumbersome.
by ian.e.preston
Fri Jul 03, 2015 1:21 pm
Forum: Programming
Topic: @keep vs @drop
Replies: 7
Views: 4779

@keep vs @drop

I'm trying to export a series to an excel file. pagesave(t="excelxml") %file_out @keep x creates an excel file with a date column and a series with a header that says "X" and then a whole series that is just X over and over if I do pagesave(t="excelxml") %file_out @drop...
by ian.e.preston
Tue May 26, 2015 1:52 pm
Forum: Estimation
Topic: Tobit Forecast error
Replies: 10
Views: 6543

Re: Tobit Forecast error

No worries, I appreciate the help!

Go to advanced search