Reply
 
Thread Tools Display Modes
  #1   Report Post  
douglasgerlach douglasgerlach is offline
Junior Member
 
Posts: 1
Default Table Repeating Issue

I have the following macro and i cannot figure out why i cannot get this header to repeat on subsequent pages any thoughts?

ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:= _
1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:= _
wdAutoFitFixed

With Selection.Tables(1)
If .Style "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = True
.ApplyStyleFirstColumn = True
.Rows(1).HeadingFormat = True
End With

Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Selection.Cells.VerticalAlignment = wdCellAlignVerticalCenter
Selection.Font.Name = "Courier New"
Selection.Font.Size = 11
Selection.TypeText Text:="CHANGED P/N INFORMATION"

Selection.NextField


Selection.Tables(1).Columns(1).SetWidth ColumnWidth:=565, RulerStyle:= _
wdAdjustNone


Selection.MoveDown Unit:=wdLine, Count:=1



i have other macros where i can get it to repeat but with this one i cannot.
thanks
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
Repeating Table Cell in New Table Benron Tables 2 August 11th 07 11:40 PM
Repeating a table on a page trezraven Tables 3 February 2nd 07 09:13 PM
about repeating header table hassan barjini New Users 1 September 10th 06 07:16 AM
Table headings not repeating JOE C Formatting Long Documents 1 March 18th 05 02:52 PM
Repeating Table fireice008 Microsoft Word Help 1 February 17th 05 06:22 AM


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

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"