For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > March 2005 > Saving an xls file as HTML or JPG using Perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Saving an xls file as HTML or JPG using Perl
deep

2005-03-30, 8:57 pm

Hi,

I have an xls file.

I'd like my perl script to open it, and either

1. save it as HTML with all the images stored in a directory (exactly
how Excel does it through windows)
2. save each worksheet as a jpg

any idea on how to do so?

-deepesh
A. Sinan Unur

2005-03-30, 8:57 pm

dbanerji@gmail.com (deep) wrote in news:bfbf388.0503301342.e8358e0
@posting.google.com:

> Hi,
>
> I have an xls file.
>
> I'd like my perl script to open it, and either
>
> 1. save it as HTML with all the images stored in a directory (exactly
> how Excel does it through windows)
> 2. save each worksheet as a jpg
>
> any idea on how to do so?


Use Win32::OLE:

<URL: http://search.cpan.org/~jdb/libwin3...ib/Win32/OLE.pm>

Sinan

--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/c...guidelines.html
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com