Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 06-28-2011, 06:15 PM
macropod's Avatar
macropod macropod is offline Page Numbers in Frame cropping when PDFing Windows 7 64bit Page Numbers in Frame cropping when PDFing Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Numbers in Frame cropping when PDFing Formatting Page Numbers 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
Page Numbers in Frame cropping when PDFing Page numbers...starting on page 3 Motiv8td1 Word 2 02-21-2009 07:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft