Hi People of the Internet,
I am struggling to find the correct line of code to change my x axis titles. I can change the color of the values but I can't find the code to change the color
Any help is appreciated
For Each excelChart In ActiveSheet.ChartObjects
excelChart.Chart.ChartTitle.Format.TextFrame2.TextRange.Font.Fill.ForeColor.RGB = RGB(0, 0, 0)
excelChart.Chart.Axes(xlCategory).TickLabels.Font.Color = RGB(0, 0, 0)
excelChart.Chart.Axes(xlValue).TickLabels.Font.Color = RGB(0, 0, 0)
excelChart.Chart.Legend.Font.Color = RGB(0, 0, 0)
excelChart.Copy
mySlide.Shapes.Paste
Next
I am struggling to find the correct line of code to change my x axis titles. I can change the color of the values but I can't find the code to change the color
Any help is appreciated
For Each excelChart In ActiveSheet.ChartObjects
excelChart.Chart.ChartTitle.Format.TextFrame2.TextRange.Font.Fill.ForeColor.RGB = RGB(0, 0, 0)
excelChart.Chart.Axes(xlCategory).TickLabels.Font.Color = RGB(0, 0, 0)
excelChart.Chart.Axes(xlValue).TickLabels.Font.Color = RGB(0, 0, 0)
excelChart.Chart.Legend.Font.Color = RGB(0, 0, 0)
excelChart.Copy
mySlide.Shapes.Paste
Next