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}});
In reply to Re: Re: Re: Re: Problem with Excel and Win32::OLE
by Streen
in thread Problem with Excel and Win32::OLE
by Streen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |