Reply
 
Thread Tools Display Modes
  #1   Report Post  
Richard Munro
 
Posts: n/a
Default Wrapping text around a table using styles

Hi,

I'm editing quite a long document in Word 2003 which contains a lot of
tables. I have decided that I would like to add a bit more blank
space after the last row of each table, before text restarts. All the
tables use the same custom style.
Doing this for an individual table is no problem - in the 'Table
properties' dialogue box I change the text wrapping to 'Around' and
then specify the values I require in the 'Distance from surrounding
text' section of the 'Positioning' sub dialogue box.
However, I am unable to achieve this for all tables using this Style
tag. If I try to modify the style then the 'Text wrapping' options on
the 'Table Properties' dialogue are greyed out. If I update a single
table, then the 'Update to match selection' option in the 'Styles and
formatting' pane is greyed out. If I use the option to 'Select all 84
instances' and then open 'Table Properties' I am able to select the
'Around' text wrapping style, but the 'Positions' dialogue box does
not open, though the button is not greyed out. I don't really want to
use this last method anyhow, but thought I'd try everything I can.
Why? And, more importantly, can I get around this? By the way, I am
using document protection, but have it turned off for making this
change.

Many thanks for any thoughts on this.

Richie
  #2   Report Post  
Klaus Linke
 
Posts: n/a
Default

Hi Richard,

I don't use wrapped tables myself, and usually not even table styles, =
but you should be able to set the bottom distance to text with a macro:

Dim myTable As Table
For Each myTable In ActiveDocument.Tables
If myTable.Style =3D "YourTableStyle" Then
myTable.Rows.DistanceBottom =3D 24
End If
Next myTable

(where you change "YourTableStyle" to the name of your table style).

Unfortunately, it's not something you can define in the table style.

Regards,
Klaus



"Richard Munro" wrote:
Hi,
=20
I'm editing quite a long document in Word 2003 which contains a lot of
tables. I have decided that I would like to add a bit more blank
space after the last row of each table, before text restarts. All the
tables use the same custom style.
Doing this for an individual table is no problem - in the 'Table
properties' dialogue box I change the text wrapping to 'Around' and
then specify the values I require in the 'Distance from surrounding
text' section of the 'Positioning' sub dialogue box.
However, I am unable to achieve this for all tables using this Style
tag. If I try to modify the style then the 'Text wrapping' options on
the 'Table Properties' dialogue are greyed out. If I update a single
table, then the 'Update to match selection' option in the 'Styles and
formatting' pane is greyed out. If I use the option to 'Select all 84
instances' and then open 'Table Properties' I am able to select the
'Around' text wrapping style, but the 'Positions' dialogue box does
not open, though the button is not greyed out. I don't really want to
use this last method anyhow, but thought I'd try everything I can.
Why? And, more importantly, can I get around this? By the way, I am
using document protection, but have it turned off for making this
change.
=20
Many thanks for any thoughts on this.
=20
Richie

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
How do I keep text in a table row from wrapping Table row wrapping or not to wrap Tables 1 April 26th 05 06:56 PM
Table headers/footers and layout Keith Page Layout 1 April 8th 05 07:37 PM
How to Avoid Word 2003 Table Style Problems Judy Haynes Tables 0 March 23rd 05 06:41 PM
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 07:18 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM


All times are GMT +1. The time now is 01:33 PM.

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"