A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Controlling the spacing after a table



 
 
Thread Tools Display Modes
  #1  
Old January 21st, 2007, 06:54 PM posted to microsoft.public.word.tables
Michael Carr
external usenet poster
 
Posts: 1
Default Controlling the spacing after a table

I currently use the Normal style to add 12pt after each paragraph, but this
setting doesn't seem to apply to tables. As a result, the bottoms of my
tables are butted up against their following paragraphs. Can I change a
table style somehow to automatically add 12pt after the bottom of the table?
I've tried everything I can think of and I can't find a way to do it
anywhere.

I don't want to put an extra "blank" paragraph after each table if I can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr


  #2  
Old January 21st, 2007, 09:54 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Controlling the spacing after a table

The way most of us work around this is to have a Space Before style (in my
case it's Body Text Space Before, corresponding to Body Text, which I use
for my body text) to use after tables and anywhere else it's needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Michael Carr" wrote in message
...
I currently use the Normal style to add 12pt after each paragraph, but

this
setting doesn't seem to apply to tables. As a result, the bottoms of my
tables are butted up against their following paragraphs. Can I change a
table style somehow to automatically add 12pt after the bottom of the

table?
I've tried everything I can think of and I can't find a way to do it
anywhere.

I don't want to put an extra "blank" paragraph after each table if I can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr



  #3  
Old January 21st, 2007, 10:43 PM posted to microsoft.public.word.tables
Lene Fredborg
external usenet poster
 
Posts: 1,294
Default Controlling the spacing after a table

An alternative solution would be to keep the style you would normally use and
use a macro like the following to change the space before. The macro simply
applies 12 pt space before the first paragraph in the selection.

Sub Add12ptSpaceBefore()
Selection.Paragraphs(1).SpaceBefore = 12
End Sub

You can assign the macro to a toolbar button and/or a keyboard shortcut in
order to make it easy to execute.

A more advanced macro could be made that checks the entire document and,
below each table, removes any empty paragraph(s) plus applies appropriate
space before the following paragraph - the space may depend on the style of
the paragraph (for example, you may want more space in case of a heading). If
another table follows immediately below one or more empty paragraphs, a
single empty paragraph must remain in order to split the tables. I normally
use a macro like this in order to correct the “space below table” in an
entire document in one step.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

The way most of us work around this is to have a Space Before style (in my
case it's Body Text Space Before, corresponding to Body Text, which I use
for my body text) to use after tables and anywhere else it's needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Michael Carr" wrote in message
...
I currently use the Normal style to add 12pt after each paragraph, but

this
setting doesn't seem to apply to tables. As a result, the bottoms of my
tables are butted up against their following paragraphs. Can I change a
table style somehow to automatically add 12pt after the bottom of the

table?
I've tried everything I can think of and I can't find a way to do it
anywhere.

I don't want to put an extra "blank" paragraph after each table if I can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr




  #4  
Old January 21st, 2007, 11:33 PM posted to microsoft.public.word.tables
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Controlling the spacing after a table

Pressing Ctrl+0 will add 12 pts Space Before (no macro required). It will
also remove it, or reduce/increase existing Space Before to 12 points,
depending on the current status. For a throwaway document, I would just use
this shortcut to add space; for properly structured documents, I try to have
a style for every paragraph format used more than a couple of times (that
is, when I see that I'm applying the same type of direct formatting more
than once or twice, I define a style).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Lene Fredborg" wrote in message
...
An alternative solution would be to keep the style you would normally use

and
use a macro like the following to change the space before. The macro

simply
applies 12 pt space before the first paragraph in the selection.

Sub Add12ptSpaceBefore()
Selection.Paragraphs(1).SpaceBefore = 12
End Sub

You can assign the macro to a toolbar button and/or a keyboard shortcut in
order to make it easy to execute.

A more advanced macro could be made that checks the entire document and,
below each table, removes any empty paragraph(s) plus applies appropriate
space before the following paragraph - the space may depend on the style

of
the paragraph (for example, you may want more space in case of a heading).

If
another table follows immediately below one or more empty paragraphs, a
single empty paragraph must remain in order to split the tables. I

normally
use a macro like this in order to correct the “space below table” in an
entire document in one step.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

The way most of us work around this is to have a Space Before style (in

my
case it's Body Text Space Before, corresponding to Body Text, which I

use
for my body text) to use after tables and anywhere else it's needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Michael Carr" wrote in message
...
I currently use the Normal style to add 12pt after each paragraph, but

this
setting doesn't seem to apply to tables. As a result, the bottoms of

my
tables are butted up against their following paragraphs. Can I change

a
table style somehow to automatically add 12pt after the bottom of the

table?
I've tried everything I can think of and I can't find a way to do it
anywhere.

I don't want to put an extra "blank" paragraph after each table if I

can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr





  #5  
Old January 22nd, 2007, 08:16 AM posted to microsoft.public.word.tables
Lene Fredborg
external usenet poster
 
Posts: 1,294
Default Controlling the spacing after a table

Since the desired space in this case is exactly 12 pt I agree with Suzanne -
it is easier to use the built-in Ctrl+0 than to use a macro. However, I
thought of the adjust-space-before-macro-method as a general, alternative
method (the space could be set to any other space than 12 pt).

In general, I would also prefer the method Suzanne describes (i.e. to define
a style for each type of formatting needed). However, in some documents it
could require several additional styles. The number of styles may not be a
problem, especially not if you are the only person working with the document.
However, in documents that are being created/edited by many different users,
it is my experience that users find the editing process more difficult the
more different styles to keep track of. This is why I often use the
adjust-space-before-method.


--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

Pressing Ctrl+0 will add 12 pts Space Before (no macro required). It will
also remove it, or reduce/increase existing Space Before to 12 points,
depending on the current status. For a throwaway document, I would just use
this shortcut to add space; for properly structured documents, I try to have
a style for every paragraph format used more than a couple of times (that
is, when I see that I'm applying the same type of direct formatting more
than once or twice, I define a style).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Lene Fredborg" wrote in message
...
An alternative solution would be to keep the style you would normally use

and
use a macro like the following to change the space before. The macro

simply
applies 12 pt space before the first paragraph in the selection.

Sub Add12ptSpaceBefore()
Selection.Paragraphs(1).SpaceBefore = 12
End Sub

You can assign the macro to a toolbar button and/or a keyboard shortcut in
order to make it easy to execute.

A more advanced macro could be made that checks the entire document and,
below each table, removes any empty paragraph(s) plus applies appropriate
space before the following paragraph - the space may depend on the style

of
the paragraph (for example, you may want more space in case of a heading).

If
another table follows immediately below one or more empty paragraphs, a
single empty paragraph must remain in order to split the tables. I

normally
use a macro like this in order to correct the “space below table” in an
entire document in one step.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

The way most of us work around this is to have a Space Before style (in

my
case it's Body Text Space Before, corresponding to Body Text, which I

use
for my body text) to use after tables and anywhere else it's needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Michael Carr" wrote in message
...
I currently use the Normal style to add 12pt after each paragraph, but
this
setting doesn't seem to apply to tables. As a result, the bottoms of

my
tables are butted up against their following paragraphs. Can I change

a
table style somehow to automatically add 12pt after the bottom of the
table?
I've tried everything I can think of and I can't find a way to do it
anywhere.

I don't want to put an extra "blank" paragraph after each table if I

can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr






  #6  
Old January 23rd, 2007, 11:27 PM posted to microsoft.public.word.tables
Klaus Linke
external usenet poster
 
Posts: 401
Default Controlling the spacing after a table

If the table does not have borders, a white top border for the first row,
and bottom border for the last row (defined in the table style) can be a
work-around... but is unfortunately limited to 6 pt.
And Word reserves those 6 pt even at the bottom of the page, which can lead
to the table being broken to the next page.

Regards,
Klaus


"Lene Fredborg" wrote:
Since the desired space in this case is exactly 12 pt I agree with
Suzanne -
it is easier to use the built-in Ctrl+0 than to use a macro. However, I
thought of the adjust-space-before-macro-method as a general, alternative
method (the space could be set to any other space than 12 pt).

In general, I would also prefer the method Suzanne describes (i.e. to
define
a style for each type of formatting needed). However, in some documents it
could require several additional styles. The number of styles may not be a
problem, especially not if you are the only person working with the
document.
However, in documents that are being created/edited by many different
users,
it is my experience that users find the editing process more difficult the
more different styles to keep track of. This is why I often use the
adjust-space-before-method.


--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

Pressing Ctrl+0 will add 12 pts Space Before (no macro required). It will
also remove it, or reduce/increase existing Space Before to 12 points,
depending on the current status. For a throwaway document, I would just
use
this shortcut to add space; for properly structured documents, I try to
have
a style for every paragraph format used more than a couple of times (that
is, when I see that I'm applying the same type of direct formatting more
than once or twice, I define a style).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Lene Fredborg" wrote in message
...
An alternative solution would be to keep the style you would normally
use

and
use a macro like the following to change the space before. The macro

simply
applies 12 pt space before the first paragraph in the selection.

Sub Add12ptSpaceBefore()
Selection.Paragraphs(1).SpaceBefore = 12
End Sub

You can assign the macro to a toolbar button and/or a keyboard shortcut
in
order to make it easy to execute.

A more advanced macro could be made that checks the entire document
and,
below each table, removes any empty paragraph(s) plus applies
appropriate
space before the following paragraph - the space may depend on the
style

of
the paragraph (for example, you may want more space in case of a
heading).

If
another table follows immediately below one or more empty paragraphs, a
single empty paragraph must remain in order to split the tables. I

normally
use a macro like this in order to correct the "space below table" in an
entire document in one step.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

The way most of us work around this is to have a Space Before style
(in

my
case it's Body Text Space Before, corresponding to Body Text, which I

use
for my body text) to use after tables and anywhere else it's needed.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Michael Carr" wrote in message
...
I currently use the Normal style to add 12pt after each paragraph,
but
this
setting doesn't seem to apply to tables. As a result, the bottoms
of

my
tables are butted up against their following paragraphs. Can I
change

a
table style somehow to automatically add 12pt after the bottom of
the
table?
I've tried everything I can think of and I can't find a way to do
it
anywhere.

I don't want to put an extra "blank" paragraph after each table if
I

can
avoid it.

I am using Word 2007.

Thanks!
Michael Carr








  #7  
Old January 28th, 2007, 12:18 AM posted to microsoft.public.word.tables
Robert M. Franz (RMF)
external usenet poster
 
Posts: 1,743
Default Controlling the spacing after a table

Klaus Linke wrote:
If the table does not have borders, a white top border for the first row,
and bottom border for the last row (defined in the table style) can be a
work-around... but is unfortunately limited to 6 pt.
And Word reserves those 6 pt even at the bottom of the page, which can lead
to the table being broken to the next page.


.... and if you need more than 6 pt, you can use an empty table row (with
the same ramifications, sigh :-)).

0.2
Robert
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.