Dear all,
I attempt to save a alpha series via the command
pagesave(type=excelxml,mode=update) "C:\Users\fhespeler\Desktop\blhelp.xlsx" range="ticker!B1" @keep ticker
but is does not work. I checked for the existence of the file via
@fileexist("C:\Users\fhespeler\Desktop\blhelp.xlsx")
and got a 1 as a result, so the file clearly exists. Also if I exchange mode=update with mode=overwrite, the file is successfully overwritten. What can I do?
My EVIEWS version is EVIEWS 10+ Enterprise Edition
pagesave with mode=update does not work
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: pagesave with mode=update does not work
Could you define what "does not work" means?
I just tried a quick test, and it seemed to work fine.
I just tried a quick test, and it seemed to work fine.
Code: Select all
wfcreate u 100
alpha ticker = "hello"
pagesave(type=excelxml) myfile.xlsx range="b2" @keep ticker
ticker = "world"
pagesave(type=excelxml, model=update) myfile.xlsx range="b2" @keep ticker
Follow us on Twitter @IHSEViews
Re: pagesave with mode=update does not work
The first command did not produce any saving results. Could it be that's due to the target file containing EXCEL Bloomberg formulas in another sheet than the target sheet?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: pagesave with mode=update does not work
Did you try my test program, and did it work?
Follow us on Twitter @IHSEViews
Re: pagesave with mode=update does not work
Your testfile worked perfectly. It first produced a file with entries "hello" and then overwrote this with entries "world".
Who is online
Users browsing this forum: No registered users and 13 guests