>
>I ran into something the other day that may apply. Different command, but I was doing something with Macro sub. It worked fine in dev and when running exe fro inside fox but would not work from outside fox. I don't know why and have not had the time to really find out, but I fixed the problem by building the complete command into a variable and then issued the macro sub.
>
>In your case, try myvar="ooo.activedocument.saveas("+myfilepath+name+")"
>&myvar.
i suppose you want say
myvar = 'ooo.activedocument.saveas"' + myfilepath+name + '")' && note the quotemarks
But in both cases the problems does not fixed. Thanks anyway. I'll try reinstalling service packs.
Carlos
Saludos,
A.G.P.
---------