in reply to Re: Re: Re: Problem with Excel and Win32::OLE
in thread Problem with Excel and Win32::OLE
But now I have an other problem... I searched in the object browser, but I din't manage to solve the problem. In a chart I would like to set the font size to 8... I recorded the following macro and I tried to set them to 8 but the fonts still 8 and no error message comes up. The VB macro$newworksheet->Activate(); $Excel->ActiveWindow->{DisplayGridlines} = 'False';
Because only the Size is needed I tried to convert it into the following perl code:Selection.TickLabels.AutoScaleFont = False With Selection.TickLabels.Font .Name = "Arial" .FontStyle = "Standard" .Size = 8 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic .Background = xlAutomatic End With
No error message and no size of 8, can anybody help me? Thanks a lot$Excel->Selection->ThickLabels({AutoScaleFont => 0}); $Excel->Selection->ThickLabels({Font => {Size => 8}});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Problem with Excel and Win32::OLE
by bmann (Priest) on May 07, 2004 at 15:19 UTC | |
by Streen (Sexton) on May 10, 2004 at 08:04 UTC | |
by bmann (Priest) on May 10, 2004 at 18:04 UTC |