0

I have tried to use the Format.TextFrame2.TextRange but this does not work as it returns a Microsoft.Office.Interop.Excel.TextFrame2 object that contains text formatting for the specified chart element. It is read only.

I need to set the Secondary Horizontal (value) Axis to white.

Excel.Axis LineAxis = (Excel.Axis)ChartMemory.Axes(Excel.XlAxisType.xlCategory,Excel.XlAxisGroup.xlSecondary);
        LineAxis.MinimumScale = 0;
        LineAxis.MaximumScale = 1;
        LineAxis.MajorTickMark = Excel.XlTickMark.xlTickMarkNone;
LineAxis.Format.TextFrame2.TextRage // but these are read only , and I need to set them
user3168684
  • 53
  • 1
  • 5

0 Answers0