M
MarkCR
Greetings:
I have the following line in an Excel VBA Macro:
ActiveChart.Shapes.AddTextbox(msoTextOrientationHorizontal, 500, 80, 120,
60).Select
Selection.AutoScaleFont = False
Selection.Characters(Start:=1, Length:=23).Font.Name = "Arial"
It runs perfectly well under Excell 2003, but under Excel 2007, I get the
following, very unhelpful, error message:
"Runtime error: 1004
Unable to get the Characters property of the TextBox class."
Sooo, what does unable to "get" the property mean. It doesn't exist? Has it
been removed? Am I not using it properly? Most important: What has changed in
Excel 2007 that this no longer works?
Thank you,
Mark
I have the following line in an Excel VBA Macro:
ActiveChart.Shapes.AddTextbox(msoTextOrientationHorizontal, 500, 80, 120,
60).Select
Selection.AutoScaleFont = False
Selection.Characters(Start:=1, Length:=23).Font.Name = "Arial"
It runs perfectly well under Excell 2003, but under Excel 2007, I get the
following, very unhelpful, error message:
"Runtime error: 1004
Unable to get the Characters property of the TextBox class."
Sooo, what does unable to "get" the property mean. It doesn't exist? Has it
been removed? Am I not using it properly? Most important: What has changed in
Excel 2007 that this no longer works?
Thank you,
Mark