in reply to export a table to excel
If it it a Win32-System, you can do so with Win32::ODBC or DBI and DBD::ODBC very easily. Just access Excel like a ODBC-Database, and use the single sheets like tables. Just take care that the Sheetname plus a $ at the end is the tablename.
Or you could use Win32::OLE (have a look at the activestate perl-WinFaq). This has got more overhead, but if you want to format cells or build and execute makros, this might be the only way how it works.
There are also Modules like Excel::Spreadsheet or the like, but I haven't tried them yet.
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: export a table to excel
by Caillte (Friar) on Feb 26, 2002 at 17:05 UTC | |
by lachoy (Parson) on Feb 26, 2002 at 17:28 UTC |