I have an error poping when i use the command line as
follow: ".saveas(ToFileName,-4143)" between a With and
EndWith statements... Why?

It's a bit weird because it works just fine within Excell
2000 but it fails when using Excell XP?

What command line should be able to replace it to do the
same job?

The job by the way is simple: save as @NameInVar into
excell format file... That's it!

Could someone find the cure please!

Re: OLE error code(0x800a03ec: Unknown COM status code) ??? by Dan

Dan
Thu Sep 18 15:30:12 CDT 2003

I just saw this discussed elsewhere this week.

The Excel SaveAs() command works just fine from VFP8, but not from previous
versions.

Dan

"Sylvain Bouchard" <sbouchard@mediamedtech.com> wrote in message
news:0d0c01c37e13$fcb9a890$a001280a@phx.gbl...
> I have an error poping when i use the command line as
> follow: ".saveas(ToFileName,-4143)" between a With and
> EndWith statements... Why?
>
> It's a bit weird because it works just fine within Excell
> 2000 but it fails when using Excell XP?
>
> What command line should be able to replace it to do the
> same job?
>
> The job by the way is simple: save as @NameInVar into
> excell format file... That's it!
>
> Could someone find the cure please!