Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Gazzit Gazzit is offline
external usenet poster
 
Posts: 6
Default Selecting multiple text boxes

Is there a way to select multiple text boxes without having to step through a
whole document, say with a Find or Select All type parameter or by running a
macro? I have a number of text boxes and want to be able to toggle them all
to be either in fron or behind the normal page text.
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Selecting multiple text boxes

You can select the first text box, scroll the document and hold Shift as you
click additional text boxes. But using a macro would probably be easier.
In its simplest form, you can use something like this:

Sub testing()
Dim s As Shape
For Each s In ActiveDocument.Shapes
If s.Type = msoTextBox Then
s.WrapFormat.Type = wdWrapBehind 'or wdWrapFront
End If

Next s
End Sub

Observe that this macro sets the same option for all text boxes, no matter
what the individual setting for each text box happens to be when you run the
macro.

For assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


"Gazzit" wrote in message
...
Is there a way to select multiple text boxes without having to step
through a
whole document, say with a Find or Select All type parameter or by running
a
macro? I have a number of text boxes and want to be able to toggle them
all
to be either in fron or behind the normal page text.







  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Gazzit Gazzit is offline
external usenet poster
 
Posts: 6
Default Selecting multiple text boxes

Thanks Stefan, it works a treat.

"Stefan Blom" wrote:

You can select the first text box, scroll the document and hold Shift as you
click additional text boxes. But using a macro would probably be easier.
In its simplest form, you can use something like this:

Sub testing()
Dim s As Shape
For Each s In ActiveDocument.Shapes
If s.Type = msoTextBox Then
s.WrapFormat.Type = wdWrapBehind 'or wdWrapFront
End If

Next s
End Sub

Observe that this macro sets the same option for all text boxes, no matter
what the individual setting for each text box happens to be when you run the
macro.

For assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


"Gazzit" wrote in message
...
Is there a way to select multiple text boxes without having to step
through a
whole document, say with a Find or Select All type parameter or by running
a
macro? I have a number of text boxes and want to be able to toggle them
all
to be either in fron or behind the normal page text.








  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Selecting multiple text boxes

You are welcome.

--
Stefan Blom
Microsoft Word MVP


"Gazzit" wrote in message
...
Thanks Stefan, it works a treat.

"Stefan Blom" wrote:

You can select the first text box, scroll the document and hold Shift as
you
click additional text boxes. But using a macro would probably be easier.
In its simplest form, you can use something like this:

Sub testing()
Dim s As Shape
For Each s In ActiveDocument.Shapes
If s.Type = msoTextBox Then
s.WrapFormat.Type = wdWrapBehind 'or wdWrapFront
End If

Next s
End Sub

Observe that this macro sets the same option for all text boxes, no
matter
what the individual setting for each text box happens to be when you run
the
macro.

For assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


"Gazzit" wrote in message
...
Is there a way to select multiple text boxes without having to step
through a
whole document, say with a Find or Select All type parameter or by
running
a
macro? I have a number of text boxes and want to be able to toggle them
all
to be either in fron or behind the normal page text.










Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting multiple text boxes Gazzit Microsoft Word Help 4 April 28th 23 02:47 PM
multiple text boxes Garrett Page Layout 1 May 12th 08 10:33 PM
Selecting multiple non-adjacent lines of text Angharad Microsoft Word Help 1 October 16th 06 08:40 AM
Selecting 3+ text boxes in Word CyberTaz Microsoft Word Help 1 November 18th 05 06:41 PM
selecting multiple lines of text Mary52404 Microsoft Word Help 6 August 11th 05 08:26 PM


All times are GMT +1. The time now is 01:42 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"