Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Ehsan Sadeghi Ehsan  Sadeghi is offline
external usenet poster
 
Posts: 2
Default Changing the font of all headers

I have a page that has over 700 headers, I want to change the font from
"Courier New" to "Arial" and the size from 9 to 12. Is it possible to this
automatically? I am using word 2000.


  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Changing the font of all headers

Dim i As Long, j As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
For j = 1 To .Headers.Count
With .Headers(j).Range
.Font = "Arial"
.Font.Size = 12
End With
Next j
End With
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
"Ehsan Sadeghi" wrote in message
...
I have a page that has over 700 headers, I want to change the font from
"Courier New" to "Arial" and the size from 9 to 12. Is it possible to this
automatically? I am using word 2000.



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Ehsan Sadeghi Ehsan  Sadeghi is offline
external usenet poster
 
Posts: 2
Default Changing the font of all headers

hello,
well what can I say, I did the same thing with the replace function:-) just
clicked on more and choose the correct options. But thanks anyway.

ehsan

"Doug Robbins - Word MVP" wrote:

Dim i As Long, j As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
For j = 1 To .Headers.Count
With .Headers(j).Range
.Font = "Arial"
.Font.Size = 12
End With
Next j
End With
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
"Ehsan Sadeghi" wrote in message
...
I have a page that has over 700 headers, I want to change the font from
"Courier New" to "Arial" and the size from 9 to 12. Is it possible to this
automatically? I am using word 2000.




  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Changing the font of all headers

An even quicker method would be to modify the Header paragraph style.

--
Stefan Blom
Microsoft Word MVP



"Ehsan Sadeghi" wrote in message
...
hello,
well what can I say, I did the same thing with the replace function:-)
just
clicked on more and choose the correct options. But thanks anyway.

ehsan

"Doug Robbins - Word MVP" wrote:

Dim i As Long, j As Long
With ActiveDocument
For i = 1 To .Sections.Count
With .Sections(i)
For j = 1 To .Headers.Count
With .Headers(j).Range
.Font = "Arial"
.Font.Size = 12
End With
Next j
End With
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
"Ehsan Sadeghi" wrote in message
...
I have a page that has over 700 headers, I want to change the font from
"Courier New" to "Arial" and the size from 9 to 12. Is it possible to
this
automatically? I am using word 2000.






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bold not working, font changing, alignment changing Cut and paste, bold not working properly Microsoft Word Help 2 June 5th 07 05:26 PM
Many sections, headers and footers keep on changing shyanita Tables 2 June 28th 06 09:41 AM
Changing page headers in Word 2007 Bobby Microsoft Word Help 4 May 29th 06 06:29 PM
Dynamically changing headers? SoxFan in VA Formatting Long Documents 1 June 1st 05 07:10 PM
Changing headers in document MsMT Microsoft Word Help 1 February 15th 05 12:12 AM


All times are GMT +1. The time now is 05:29 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"