I frequently use textboxes and then change the contents of the textbox using bookmarks rather than trying to identify exactly what number/name the textbox is.
Try using the code
ActiveDocument.Bookmark("T
The other advantage of using this method is that you can have a text box with more than one bookmark EG a table of partners and consultants in a letter for a law form.
Main Topics
Browse All Topics





by: GrahamSkanPosted on 2005-03-09 at 01:42:43ID: 13494262
I don't believe that there is such a thing as an inline text box. The 'Inline with text' option is greyed out if you select the Layout tab in the Format/Text Box dialogue (Word 2000).
extFrame.T extRange.T ext ="Assigned Text"
ange.Text ="Assigned Text"
If it is still a Shape then the syntax would be
ActiveDocument.Shapes(1).T
It might be a Frame. If so then
activedocument.Frames(1).R
would be the correct syntax