I am trying to paste a text box at the bottom of an Excel chart with a macro. If there are more that 256 characters nothing is showing up. I tried a label and am having the same problem. What Control can I use?
Here is my code:
Dim newTextBox As Shape
Set newTextBox = ActiveChart.Shapes.AddTextbox(msoTextOrientationHorizontal, 0, 375, 750, 28)
newTextBox.TextFrame.Characters.Text = "Special Cause Point Defintions : 1 pt beyond 3-sigma limit; 2 of 3 successive pts beyond 2-sigma limit; 4 of 5 successive pts beyond 1-sigma limit; 7 pts in a row on one side of the mean;" & _
'" 8 successive increasing or decreasing pts; 14 succesive alternating pts."
Here is my code:
Dim newTextBox As Shape
Set newTextBox = ActiveChart.Shapes.AddTextbox(msoTextOrientationHorizontal, 0, 375, 750, 28)
newTextBox.TextFrame.Characters.Text = "Special Cause Point Defintions : 1 pt beyond 3-sigma limit; 2 of 3 successive pts beyond 2-sigma limit; 4 of 5 successive pts beyond 1-sigma limit; 7 pts in a row on one side of the mean;" & _
'" 8 successive increasing or decreasing pts; 14 succesive alternating pts."