But, if the file exists then I get prompted to over right the file. That’s what I don't want to happen, I don't want to get prompted to save the file, I want the script to go ahead and save the file in any case.
You *could* just simply unlink the file on disk before saving.
unlink $ARGV[0] or die "yada yada $!"; xls -> ActiveWorkbook -> SaveAs( $ARGV[0] );
HTH
In reply to Re: OLE Save and SaveAs
by guha
in thread OLE Save and SaveAs
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |