develooper Front page | perl.beginners | Postings from January 2002

EXCEL automation

Thread Next
From:
Billie
Date:
January 7, 2002 07:14
Subject:
EXCEL automation
Message ID:
20020107144817.30789.qmail@onion.perl.org
Hi all,

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?

Thanks
Billie




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About