From: "Billie" <[EMAIL PROTECTED]> > What's wrong with the following code? > > use Win32::OLE; > $book = Win32::OLE->GetObject("Book1.xls"); > $book->Saveas("Book2.xls"); > > Book1 and the script are in the same directory. When I open > Book2.xls, I cannot see any worksheet. Why?
1) Use full paths 2) Add $book->{Visible} = 1; above the SaveAs(). Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]