in reply to Re^2: Modifying an existing Excel file
in thread Modifying an existing Excel file
use Win32::OLE; $doc = 'Smoke_Test.xls'; $ex = Win32::OLE->GetObject($doc); # get a new workbook $book = $ex->Workbooks->Add; # write to a particular cell $sheet = $book->Worksheets("Sheet1"); $sheet->Cells(1,1)->{Value} = "foo"; undef $book; undef $ex; __END__
2005-05-05 code tags added by Arunbear
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Modifying an existing Excel file
by davies (Monsignor) on May 05, 2005 at 09:11 UTC | |
|
Re^4: Modifying an existing Excel file
by merrymonk (Hermit) on May 05, 2005 at 06:46 UTC | |
by davies (Monsignor) on May 05, 2005 at 12:53 UTC | |
by Nkuvu (Priest) on May 05, 2005 at 17:39 UTC |