P
PeteCresswell
Looks like .Shapes.AddTextBox creates an object that will only hold
up to 255 chars.
e.g. .Shapes("txtWhatever").TextFrame.Characters.Text = string(255,
"A") works, but
..Shapes("txtWhatever").TextFrame.Characters.Text = string(256, "A")
just quietly fails to add the text without trapping out.
Is there a more appropriate object to use when loading larger amounts
of text? 32,760 would probably suffice.
Or should I just define a range that points to a monster cell?
up to 255 chars.
e.g. .Shapes("txtWhatever").TextFrame.Characters.Text = string(255,
"A") works, but
..Shapes("txtWhatever").TextFrame.Characters.Text = string(256, "A")
just quietly fails to add the text without trapping out.
Is there a more appropriate object to use when loading larger amounts
of text? 32,760 would probably suffice.
Or should I just define a range that points to a monster cell?