VBA EViews Application filename with space
Posted: Wed Feb 12, 2014 7:44 am
Hi,
I'm currently using EViews 7 and Excel 2010.
I'm running a VBA sub and I'm trying to open an EViews file with the following command :
app.Run "wfopen d:\Test\bd new ipd.wf1"
and I get the following error message :
d:\Test\bd.wf1not found on disk in "wfopen d:\Test\bd new ipd.wf1"
Since the EViews filename has spaces, EViews discards parts of the filename.
Any ideas how to fix that problem without having to remove the spaces in the filename?
Thanks!
I'm currently using EViews 7 and Excel 2010.
I'm running a VBA sub and I'm trying to open an EViews file with the following command :
app.Run "wfopen d:\Test\bd new ipd.wf1"
and I get the following error message :
d:\Test\bd.wf1not found on disk in "wfopen d:\Test\bd new ipd.wf1"
Since the EViews filename has spaces, EViews discards parts of the filename.
Any ideas how to fix that problem without having to remove the spaces in the filename?
Thanks!