On Sep 13, 4:21 pm, [EMAIL PROTECTED] (Ash) wrote: > Hello fellow scripters!! > > What stumps me is pretty straight forward. I need to save a Word file > using Win32::OLE, but I need to replace an existing file if there is > any. > What properties do I have to set before calling SaveAs() to do that? > Any help is appreciated. Thank you very much.
I'm not sure I understand your question. If you are just trying to overwrite a file 'temp.doc' with a file of the same name then you shouldn't have to set any properties; you can just use SaveAs() on the file and the old one should be overwritten. You could always use unlink() on the old file to make certain it's gone. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/