Hi everyone,
I am struggling a little with the syntax of saving a workfile as a .xlsm (or .xls) file:
I have a workfile with five groups called group01, group02, ...
I would like to save a workbook that contains the groups only (there are other series in the workfile). Ideally, I would like to have one group per worksheet. That probably won't work so I would like to have one workbook per group. Lastly, assume that the target directory is something like C:\afolder\
Thanks in advance for your input
Regards
Florian
Saving workfile as workbook (containing specific groups)
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
fboehlandt
- Posts: 83
- Joined: Thu Apr 15, 2010 3:54 am
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Saving workfile as workbook (containing specific groups)
Just use:
etc...
Code: Select all
wfsave myfile1.xls @keep group01
wfsave myfile2.xls @keep group02
-
fboehlandt
- Posts: 83
- Joined: Thu Apr 15, 2010 3:54 am
Re: Saving workfile as workbook (containing specific groups)
Okay, great. Thanks. I assume it's always the workfile that is currently open/active. Is there a way to specifiy a target destination instead of saving it to documents?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Saving workfile as workbook (containing specific groups)
Yes, it is the current workfile.
Code: Select all
wfsave c:\myfolder\myfile.xls
-
fboehlandt
- Posts: 83
- Joined: Thu Apr 15, 2010 3:54 am
Re: Saving workfile as workbook (containing specific groups)
Thx, I thought as much. for some reason it doesn't like the desktop as destination but saving it to C: works just fine. great stuff!
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Saving workfile as workbook (containing specific groups)
As usual, if there are spaces in the directory path, you'll need to surround it in quotes:
Code: Select all
wfsave "c:\my documents\myfile.xls"
Who is online
Users browsing this forum: No registered users and 2 guests
