A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Format changes to header and footer



 
 
Thread Tools Display Modes
  #1  
Old December 13th, 2009, 12:45 AM posted to microsoft.public.word.pagelayout
Mike50
external usenet poster
 
Posts: 4
Default Format changes to header and footer

Is it possible to apply a formatting change (i.e. indents & spacing) to the
footers of ALL SECTIONS of a sectioned document at the same time, without
screwing up the rest of the document?

Doing it one section at a time is a bit tedious. I suppose I should have
checked it when I started the document, but we know what they say about
hindsight....
  #2  
Old December 13th, 2009, 02:49 AM posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Format changes to header and footer

It can be done with the use of a macro such as:

Dim i As Long, j As Long, k As Long
With ActiveDocument
For i = 1 To .Sections.Count
For j = 1 To .Sections(i).Footers.Count
With .Sections(i).Footers(j).Range
For k = 1 To .Paragraphs.Count
With .Paragraphs(k)
.LeftIndent = InchesToPoints(0.5)
.FirstLineIndent = InchesToPoints(-0.5)
'etc
End With
Next k
End With
Next j
Next i
End With


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Mike50" wrote in message
...
Is it possible to apply a formatting change (i.e. indents & spacing) to
the
footers of ALL SECTIONS of a sectioned document at the same time, without
screwing up the rest of the document?

Doing it one section at a time is a bit tedious. I suppose I should have
checked it when I started the document, but we know what they say about
hindsight....


  #3  
Old December 13th, 2009, 02:55 PM posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Format changes to header and footer

You could modify the Header and Footer styles.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Mike50" wrote in message
...
Is it possible to apply a formatting change (i.e. indents & spacing) to
the
footers of ALL SECTIONS of a sectioned document at the same time, without
screwing up the rest of the document?

Doing it one section at a time is a bit tedious. I suppose I should have
checked it when I started the document, but we know what they say about
hindsight....


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.