Why doesn't this work?
Sub test()
Worksheets("Last 30 Days Dashboard").ChartObjects("Chart 26").Activate
ActiveChart.Shapes("TextBox 11").Text = "X1"
End Sub
The first line works
The second returns a object does not support the property or method error.
Mybe I have to select the text box first but then once selected how do I change the txt?
ziggy
Sub test()
Worksheets("Last 30 Days Dashboard").ChartObjects("Chart 26").Activate
ActiveChart.Shapes("TextBox 11").Text = "X1"
End Sub
The first line works
The second returns a object does not support the property or method error.
Mybe I have to select the text box first but then once selected how do I change the txt?
ziggy