how to select all the textboxes in the word document

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?
 
J

Josh W

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.
 
Z

zishaji

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
 
C

Cindy M.

Hi =?Utf-8?B?emlzaGFqaQ==?=,
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?
Textboxes have text wrap formatting. This puts them in a different "level" of
the document. (Think stacking pieces of paper. The text in a document is on
one piece of paper, the graphics behind the text on another, etc.)

Ctrl+A only selects the main body text of the document. The text box *anchors"
are included in that selection. But not the text boxes, themselves, because
they aren't actually in the text flow.

If you convert the text boxes to FRAMES (should be an option in the Text Box
tab of the Formatting dialog box) then the text in those should get selected.
That's because Word "sees" the Frames as being part of the text flow. (Their
content also shows up in the Normal view, unlike text boxes.)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
Z

zishaji

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
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Z

zishaji

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.
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top