Click here to get back home

Can I write Macros in excel workbook ?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can I write Macros in excel workbook ? Bhaskar Reddy 10-08-2004
Posted by Bhaskar Reddy on October 8, 2004, 7:50 am
Please log in for more thread options
Hello,
I am using spreadsheet::WriteExcel module for writing my output to excel
file. But the user now wants to have macros in the excel file.

Is there anyway that I can write macros in the excel file ? I used POI
(Java library) which could not write macros, but atleast used a template.
The documentation says Spreadsheet::WriteExcel cannot use a template also.
Please help me !!

TIA & Regards


Posted by Bill Karwin on October 8, 2004, 2:10 am
Please log in for more thread options
Bhaskar Reddy wrote:
> Is there anyway that I can write macros in the excel file ? I used POI
> (Java library) which could not write macros, but atleast used a template.
> The documentation says Spreadsheet::WriteExcel cannot use a template also.

Check the docs of Spreadsheet::WriteExcel, in the "TODO" section. The
author says that he probably won't implement macros, because the format
of macros (that is, how they are actually stored in the Excel file) is
not documented. I would guess this is why POI doesn't implement them
either.

Other folks have thought of using Spreadsheet::ParseExcel::SaveParser,
to try to mimic a template system. But this solution may not support
macros either. I haven't learned it yet, but you might be able to:
http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel/SaveParser.pm

Regards,
Bill K.


Similar ThreadsPosted
How to write into existing Excel Spreadsheets? July 13, 2004, 1:24 pm
SpreadSheet::Write Excel- Is there a way to set background color for entire worksheet? January 21, 2005, 12:56 pm
Class::DBI and Ruby ActiveRecord::Associations ER diagram/macros June 9, 2006, 3:22 am
SerialPort write question October 28, 2004, 11:52 am
Tie::YAML doesn't write to tmp file first? December 23, 2007, 9:34 am
I don't want to write an HTML templating module August 30, 2007, 5:27 am
write a new module for suffix trees? April 3, 2008, 5:12 pm
write permissions installing XML-SAX-Expat-0.38 locally June 9, 2007, 10:44 am
How to write Delphi 2005 XML-style project files (.bdsproj)? February 23, 2005, 10:48 am
Help Perl and Excel August 16, 2006, 9:25 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap