![]() |
|
#1
|
||||
|
||||
![]() Quote:
Try: Code:
Sub Demo() Dim Tbl As Table With ActiveDocument Set Tbl = .Tables.Add(Range:=.Sections(1).Footers(wdHeaderFooterPrimary).Range, NumRows:=1, NumColumns:=3) With Tbl .Cell(1, 1).Range.Text = "QMF 24 Rev D" With .Cell(1, 2).Range .Text = "Page of " .Fields.Add .Characters(6), wdFieldPage .Fields.Add .Characters.Last.Previous, wdFieldNumPages End With .Cell(1, 3).Range.Text = "PRM 05/Section 4.6" End With End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Header and footer aligned in the footer area | ashiqghfr | Word | 2 | 07-23-2015 01:14 AM |
![]() |
danw | Word | 6 | 04-08-2015 06:24 AM |
How can I temporarily break a 3 column format in order to type a single column paragraph | William P | Word | 1 | 01-04-2015 06:40 PM |
Footer - more then one footer (auto fill text in slides) | noodle | PowerPoint | 0 | 03-31-2013 04:50 AM |
Two column format without affecting neither the page numbers nor the header or footer | Jamal NUMAN | Word | 4 | 02-21-2012 03:20 PM |