I greet all
I form in the macro table and I should make, so that several in a row going
table rows would not be transferred
(break row) to another page and they were located together on
one sheet.
As to make this?.

Signature
Grigoriy Chelh
chech@aonord.donetsk.ua
icq:118106001
Chuck Henrich - 26 Jul 2005 14:15 GMT
You need to apply .AllowBreakAcrossPages=False and
.ParagraphFormat.KeepWithNext = True to the relevant rows.
The following is sample code, you'd need to specify your table/range
according to your needs. You could also use a selection to do what you want.
Dim rngRange As Range
With ActiveDocument
.Tables(1).Rows(4).AllowBreakAcrossPages = False
Set rngRange = .Tables(1).Rows(4).Range
rngRange.ParagraphFormat.KeepWithNext = True
End With
HTH

Signature
Chuck Henrich
www.ProductivityApps.com
> I greet all
>
[quoted text clipped - 3 lines]
> one sheet.
> As to make this?.