Search found 38 matches

by trainee
Wed Jul 26, 2017 2:47 pm
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Hi Steve,

The Wfsave funtion exports dates in the dd/mm/yyyy format. Is there a way to change this to yyyyqq format?

Thanks.
by trainee
Wed Jul 26, 2017 5:44 am
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Thanks Steve. This worked: wfsave(type=excel, mode=update) tracking.xls range=weights!a2 @keep wt_gmfm_us_t @smpl 2014Q3 2017Q2
by trainee
Tue Jul 25, 2017 12:52 pm
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Can you give me an example? I tried the following but E-views dosen't like it:

wfsave(type=excel, mode=update) tracking.xls range=weights!a2 @keep @smpl 2014Q3 2017Q2 wt_gmfm_us_t

Thanks.
by trainee
Tue Jul 25, 2017 12:13 pm
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Thanks Steve. When one uses the Wfsave function it seems to dump all values in a series. However, I only want to dump non-NA values in the series into excel. For instance, the following code would dump the entire series including all the NAs. Is there something I can do about it? May be assign a sam...
by trainee
Mon Jul 24, 2017 1:50 pm
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Another question - I'm trying to use wfsave to save data in different tabs of an excel spreadsheet. But I can't seem to do that in one go. Instead e-views will close the excel file and open it again every time which takes a lot of time. Is there a way around this? Thanks so much. Using the following...
by trainee
Mon Jul 24, 2017 12:24 pm
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Figured out what the problem was. My path was pointing to the wrong folder. Sorry for the trouble.
by trainee
Mon Jul 24, 2017 11:52 am
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

Still no luck. However, seems to work for my colleague here. Even the write function is not working for me. So strange.
by trainee
Mon Jul 24, 2017 10:12 am
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

No I don't have the file open. Also, I have a feeling that the "write" command is now obsolete. Is that true? If yes, what do you suggest we use?
by trainee
Fri Jul 21, 2017 7:30 am
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Re: Exporting to existing excel file

I tried the following code. It didn't populate anything.

wfsave(type=excel, mode=update) test.xls range="Sheet1!a1" byrow @keep au_gdpr

Thanks.
by trainee
Fri Jul 21, 2017 5:54 am
Forum: Programming
Topic: Exporting to existing excel file
Replies: 18
Views: 28584

Exporting to existing excel file

Is there a way to export data from E-views workfile to an existing excel spreadsheet?

Thanks.
by trainee
Fri Jun 02, 2017 7:48 am
Forum: Programming
Topic: Loop & quotations
Replies: 1
Views: 3241

Loop & quotations

I want to run loops in commands that use quotations but am unable to do so. For example, if I try to use a loop to assign various dates in the command below, it would give me an error message.

scalar us_2014Q3 = @elem(us_dlgdpr_0n2014Q3, "08/28/2014 ")

Please help.

Thanks.
by trainee
Fri Jun 02, 2017 7:41 am
Forum: Programming
Topic: Match Merge Error Message
Replies: 7
Views: 8044

Re: Match Merge Error Message

Updated to September 2015 version but still no luck.
by trainee
Wed May 31, 2017 10:23 am
Forum: Programming
Topic: Match Merge Error Message
Replies: 7
Views: 8044

Re: Match Merge Error Message

Aug 18 2015
by trainee
Tue May 30, 2017 1:43 pm
Forum: Programming
Topic: Match Merge Error Message
Replies: 7
Views: 8044

Re: Match Merge Error Message

Using E-views 8.1 at the moment. Have put in an order for E-views 9 so should be getting it soon.
by trainee
Tue May 30, 2017 12:00 pm
Forum: Programming
Topic: Match Merge Error Message
Replies: 7
Views: 8044

Match Merge Error Message

Wondering why I am getting the "Match merge is only available when copying between workfile pages" when I run: copy {%y} judgement weights::daily\{%y} Full code is this: wfopen (wf=%name, page can) "C:\file.xlsx" string orig_name = @wlookup("q*") for %x {orig_name} %y =...

Go to advanced search