L
larrysulky
Hi, All ---
This should be quick. I have a VBA command that works to create a
small textbox:
ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, 100, 0,
100, 50, Selection.Range).Select
But if a textbox is already the currently selected shape, then the
command fails with this message: "The specified range is not from the
correct document or story." Which doesn't surprise me. But I just
can't seem to reason out what I need to do to permit the textbox to be
created within the existing textbox, or, alternatively, to step
outside the existing textbox before creating the new textbox within
the main story.
Maybe it's just Saturday brain.... can anyone help?
TIA--
---larry
This should be quick. I have a VBA command that works to create a
small textbox:
ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, 100, 0,
100, 50, Selection.Range).Select
But if a textbox is already the currently selected shape, then the
command fails with this message: "The specified range is not from the
correct document or story." Which doesn't surprise me. But I just
can't seem to reason out what I need to do to permit the textbox to be
created within the existing textbox, or, alternatively, to step
outside the existing textbox before creating the new textbox within
the main story.
Maybe it's just Saturday brain.... can anyone help?
TIA--
---larry