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  

Resetting Break Row Across Page for multiple tables



 
 
Thread Tools Display Modes
  #1  
Old July 13th, 2004, 08:16 PM
Loretta
external usenet poster
 
Posts: n/a
Default Resetting Break Row Across Page for multiple tables

We are using Word 2003. We have some very large documents that alternate between regular text and tables. We have lots and lots and lots of tables. The tables were originally created with "Allow Rows to break across pages" checked. This makes for a very ugly document.

Is there a command (or a macro) that would allow us to QUICKLY reset all of the tables to not permit rows breaking across pages? Doing it manually for over 100 tables does not sound like much fun!!
--
Loretta
  #2  
Old July 13th, 2004, 09:19 PM
Jay Freedman
external usenet poster
 
Posts: n/a
Default Resetting Break Row Across Page for multiple tables

Hi Loretta,

Sub NoBreakRows()
Dim oTbl As Table

For Each oTbl In ActiveDocument.Tables
oTbl.Rows.AllowBreakAcrossPages = False
Next oTbl
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Loretta wrote:
We are using Word 2003. We have some very large documents that
alternate between regular text and tables. We have lots and lots and
lots of tables. The tables were originally created with "Allow Rows
to break across pages" checked. This makes for a very ugly document.

Is there a command (or a macro) that would allow us to QUICKLY reset
all of the tables to not permit rows breaking across pages? Doing it
manually for over 100 tables does not sound like much fun!!



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing form view w/ page break Tim Tabor New Users 6 July 7th, 2004 01:40 PM
Page Break Problems Tim Setting Up & Running Reports 1 June 29th, 2004 06:41 PM
NUMBERING the pages Bob New Users 7 June 14th, 2004 12:20 AM
How do you insert a page break after a text box Betty Sutton Page Layout 3 June 9th, 2004 03:05 PM
Page Break in reports Jorge Novoa Using Forms 1 June 9th, 2004 02:11 AM


All times are GMT +1. The time now is 02:05 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.