Adding text into two text boxes issue

A

Anatoly A

I have a Word 2003 VBA program which adds information into two different text
boxes:
ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 10,
150, 60).Select
Selection.Collapse
Selection.TypeText Text:="box1"

ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 80,
150, 60).Select
Selection.Collapse
Selection.TypeText Text:="box2"

This fragment worked fine for many documents, but one. For this particular
Word document I have words:
box1
box2
added to each of two text boxes.

Any suggestions? What is the problem with this particular Word document?
 
Top