Code: Select all
ActiveChart.Shapes("Text Box 1").Select
With Selection
.ShapeRange.Fill.ForeColor.SchemeColor = 22
.ShapeRange.Fill.BackColor.SchemeColor = 23
.ShapeRange.Fill.TwoColorGradient msoGradientHorizontal, 1
.AutoScaleFont = False
.Font.FontStyle = "Regular"
.Font.Size = 10
.Font.Background = xlOpaque
.Characters(Start:=9, Length:=1).Font.Name = "Symbol"
.Left = CornerX + 140 - .Width - 31 'correct for real width + add margin
End With
To add to this; I also see that ".ColorIndex = xlAutomatic" now makes my textbox font white/invisible where in Excel 2003 it was black. I thought not much had changed between 2003 and 2007 but this seems pretty significant...