Code Comments
Programming Forum and web based access to our favorite programming groups.I want to set a font in the entire Excel spreadsheet. When I wun the code b elow, I get the following error: Can't call method "Font" without a package or object reference [line 4 below ]... I havent' worked with the OLE API before, so I got this from some examples t hat I saw: my $Book = $xl->Workbooks->Add; my $Sheet = $Book->Worksheets(1); my $Selection = $Sheet->cells->select; $Selection->Font->Name = 'Arial Unicode MS'; I interpret the error message to mean that 'Selection' is not an object. Ho w does one set the font?
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.