View Single Post
  #8   Report Post  
Posted to microsoft.public.word.tables
Jean-Guy Marcil[_3_] Jean-Guy Marcil[_3_] is offline
external usenet poster
 
Posts: 109
Default Border error message regarding pt size

Larry Dees was telling us:
Larry Dees nous racontait que :

I am having the same error, however the error occurs when you try to
get into the 'page borders' tab, and Word won't let me enter the tab
to change the settings. Any idea on how to get around this?


Try running this macro, you can change the distances (in points):

Sub SetPageBorderDistance()

With Selection.Sections(1)
With .Borders
.DistanceFromTop = 15
.DistanceFromLeft = 15
.DistanceFromBottom = 15
.DistanceFromRight = 15
End With
End With

End Sub

If you need help with using a macro:
http://word.mvps.org/faqs/macrosvba/CreateAMacro.htm


--
______________________________
Jean-Guy Marcil
Montreal, Canada