![]() |
|
#1
|
||||
|
||||
![]()
Hi JO'BN,
try siomething based on the following: Code:
Sub FilePrint() If Application.Dialogs(wdDialogFilePrint).Show = -1 Then Call ChkPageNoFormat End Sub Sub ChkPageNoFormat() Dim Sctn As Section, oHdFt As HeaderFooter, oShp As Shape With ActiveDocument For Each Sctn In .Sections For Each oHdFt In Sctn.Footers With oHdFt If .LinkToPrevious = False Then On Error Resume Next For Each oShp In .Range.ShapeRange With oShp.TextFrame If .HasText Then .WordWrap = False .AutoSize = True .MarginBottom = 1 .MarginLeft = 1 .MarginRight = 1 .MarginTop = 1 End If End With Next End If End With Next Next End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
cahawk | Word | 1 | 05-12-2011 06:34 AM |
page numbers in masterslide | nlittle | PowerPoint | 0 | 01-31-2011 02:32 AM |
Add text to page numbers | alpruett | Word | 0 | 07-07-2010 09:40 AM |
page numbers and TOC | windon | Word | 0 | 09-09-2009 07:53 AM |
![]() |
Motiv8td1 | Word | 2 | 02-21-2009 07:21 AM |