in reply to Re: Win32::OLE alignment
in thread Win32::OLE alignment
That is correct. However I would reccomend importing the Excel constants via
and using $worksheet->Cells(1,2)->{HorizontalAlignment} = $xlConst->{'xlRight'};#Load a hash reference to Excel's constants in the scalar ref $xlC +onst my $xlConst = Win32::OLE::Const->Load('Microsoft Excel 8.0 Object +Library');
|
|---|