PC Review


Reply
Thread Tools Rate Thread

How can I centre all tables in a large word document at once?

 
 
Emma
Guest
Posts: n/a
 
      16th Jan 2009
I have a 300 page document with a number of tables throughout. Not all of
them are positioned in the centre of the page on which they appear, I was
wondering if anyone knew of a way to centre all tables at once rather than
fiddling with each one!
Thanks
 
Reply With Quote
 
 
 
 
Stefan Blom
Guest
Posts: n/a
 
      16th Jan 2009
You can run this macro:

Sub CenterAllTablesInDocument()
Dim t As Table
For Each t In ActiveDocument.Tables
t.Rows.Alignment = wdAlignRowCenter
Next t
End Sub

If you need assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP



"Emma" <(E-Mail Removed)> wrote in message
news:42BB0696-8944-400B-9477-(E-Mail Removed)...
>I have a 300 page document with a number of tables throughout. Not all of
> them are positioned in the centre of the page on which they appear, I was
> wondering if anyone knew of a way to centre all tables at once rather than
> fiddling with each one!
> Thanks



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting several large Word files into a large word document krevere Microsoft Word Document Management 1 15th Mar 2010 11:59 AM
How can I search for a word(s) in a large word document? Refugio Microsoft Word Document Management 1 15th Apr 2009 12:21 AM
Word Document becomes too large =?Utf-8?B?VmlqYXkgUmFtYXN3YW1p?= Microsoft Word Document Management 1 8th Sep 2005 04:23 PM
How large can a Word document be? Smiley Microsoft Word Document Management 4 12th Jan 2004 10:29 PM
large Word Document Cecelia Microsoft Word New Users 1 23rd Jul 2003 04:26 PM


Features
 

Advertising
 

Newsgroups
 


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