Page 1 of 1

pagesave crash

Posted: Thu Apr 18, 2019 10:59 am
by BT454
This code keeps crashing on the first loop, telling me that the table referenced in the range option does not exist.
I'm sure I'm missing something simple here.

for %x res com pow veh ind plpf
pagesave(t=excel) C:\warem32\demand_export.xlsx range=%x @keep state us pl nag @freq m @smpl 2001 %endhist
next

it also crashes if i put curly braces around %x, and if I declare %x as a temporary string and reference that instead.
Any help is appreciated.
Thanks!
Bob

Re: pagesave crash

Posted: Thu Apr 18, 2019 1:17 pm
by EViews Gareth
When you say “crash”, do you mean EViews crashes (exits), or an error occurs etc?

Also, which version/build-date of EViews? (Help->About EViews).