how to select all the textboxes in the word document

  • Thread starter Thread starter zishaji
  • Start date Start date
Z

zishaji

I am trying to select all contents including the textboxes in the document
with "Ctrl+a", but in this case, no textbox was highlighted, but the rests
are OK.I want to know how can I make these textboxes highlighted when I use
"Ctrl+a", I know the textboxes were actually selected implicitly. But why
they are not highlighted?
 
When you select the whole document, only the text boxes as a whole are
included in your selection not the text contained in those text boxes. That's
why the text boxes are not visibly selected in black background. If you want
to format the text in the text boxes you have to select those particular text
boxes additionally.

If you press the delete key, however, all the contents in that document will
be deleted including the text boxes.
 
thanks a lot :) in addition, do you know any way to highlight all the text
boxes contents when I use "Ctrl+a", like the what will be done with frame. if
we use frame and "ctrl+a", all the frames contents are highlighted.

I want to do this just because I need to satisfy all the guys using our
documents, and not all of them can understand the difference between frame
and textbox. Thanks
 
thanks a lot :) in addition, do you know any way to highlight all the text
boxes contents when I use "Ctrl+a", like the what will be done with frame. if
we use frame and "ctrl+a", all the frames contents are highlighted.

I want to do this just because I need to satisfy all the guys using our
documents, and not all of them can understand the difference between frame
and textbox. Thanks
 
Obviously you didn't read Cindy's reply before you replied to it.
You can select the text boxes one at a time and process them with a macro.
If the 'guys' don't know the difference between text boxes and frames, why
do you need to use one rather than the other?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
thanks frist, because I have to use textbox instead frame, it is the product
requirement. If possible, could you go to the details on how to "select the
text boxes one at a time and process them with a macro", and I know little
about macro.

appreciate your great help.
 
Soimething like:

Dim aShape As Shape
With ActiveDocument
For Each aShape In .Shapes
If aShape.Type = msoTextBox Then
With aShape
'Do what you want to do with the text box here
End With
End If
Next aShape
End With


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top