Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Changing the background color of an excel cell

by jonix (Friar)
on Oct 28, 2005 at 14:43 UTC ( [id://503665]=note: print w/replies, xml ) Need Help??


in reply to Changing the background color of an excel cell

Hi,
by chance I have the solution for this in my code sample at Avoiding Strange Win32::ODBC Return Values for Integers (NUL).
Look at the parts
# Add and define a format my $header = $workbook->addformat(); # Add a format ... $header->set_bg_color('yellow'); ... $worksheet->write($row, $col++, $_, $header) for @fields;
Cheers,
jonix

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://503665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found