PC Review


Reply
Thread Tools Rate Thread

Change all Header 2 titles at once

 
 
Steve
Guest
Posts: n/a
 
      18th Jun 2008
I am using Office Word 2007. I somehow have half my Header 2 titles
italicized, and the other half without italics. Is there any what I can
change this at the same time>

My table of contents shows the differences so I need to make all my Header 2
the same.

Any easy way to do this without having to make this change one-by one in my
350 page document?

Thanks,

Steve
 
Reply With Quote
 
 
 
 
StevenM
Guest
Posts: n/a
 
      18th Jun 2008
To: Steve,

This macro should remove all Italic from all headers.

'
' Remove Italic from all Headers
'
Sub ChangeHeaders()
Dim oSection As Section
Dim oHeader As HeaderFooter

For Each oSection In ActiveDocument.Sections
For Each oHeader In oSection.Headers
oHeader.Range.Italic = False
Next oHeader
Next oSection
End Sub

If you need help installing it, just ask.

Steven Craig Miller

"Steve" wrote:

> I am using Office Word 2007. I somehow have half my Header 2 titles
> italicized, and the other half without italics. Is there any what I can
> change this at the same time>
>
> My table of contents shows the differences so I need to make all my Header 2
> the same.
>
> Any easy way to do this without having to make this change one-by one in my
> 350 page document?
>
> Thanks,
>
> Steve

 
Reply With Quote
 
Herb Tyson [MVP]
Guest
Posts: n/a
 
      18th Jun 2008
While Steve said Header, I think he actually meant Heading 2.

Here's one method:

1. In Word Options, click Advanced, and in the Editing Options section, tick
to select "Keep track of formatting:. Click OK.

2. With the document open, press Ctrl+Alt+Shift+S to display the Styles
pane.

3. Click the Options... button in the lower right corner.

4. Ensure that Paragraph level formatting and Font formatting are both
checked. Click OK.

5. In the list of styles, look for one named Heading 2 + Italic. Right-click
it, and choose Modify. Ensure that "Automatically update" is not enabled.
Click OK.

6. Right-click Heading 2 + Italic again, and click on Select all #
instances. This should select all of the italicized instances of Heading 2.

7. Right above (or close thereto) in the list of styles, you should see
Heading 2 without + Italic. Click on that style. This will apply the "pure"
Heading 2--without Italics--to the now-selected headings.


--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"StevenM" <stevencraigmiller(at)comcast(dot)net> wrote in message
news:70FCA8BE-1624-44E0-81B6-(E-Mail Removed)...
> To: Steve,
>
> This macro should remove all Italic from all headers.
>
> '
> ' Remove Italic from all Headers
> '
> Sub ChangeHeaders()
> Dim oSection As Section
> Dim oHeader As HeaderFooter
>
> For Each oSection In ActiveDocument.Sections
> For Each oHeader In oSection.Headers
> oHeader.Range.Italic = False
> Next oHeader
> Next oSection
> End Sub
>
> If you need help installing it, just ask.
>
> Steven Craig Miller
>
> "Steve" wrote:
>
>> I am using Office Word 2007. I somehow have half my Header 2 titles
>> italicized, and the other half without italics. Is there any what I can
>> change this at the same time>
>>
>> My table of contents shows the differences so I need to make all my
>> Header 2
>> the same.
>>
>> Any easy way to do this without having to make this change one-by one in
>> my
>> 350 page document?
>>
>> Thanks,
>>
>> Steve


 
Reply With Quote
 
Suzanne S. Barnhill
Guest
Posts: n/a
 
      19th Jun 2008
Alternatively, you could turn off the display of formatting, then use Find
and Replace to search for Heading 2 and replace with Default Paragraph Font.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Herb Tyson [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> While Steve said Header, I think he actually meant Heading 2.
>
> Here's one method:
>
> 1. In Word Options, click Advanced, and in the Editing Options section,
> tick to select "Keep track of formatting:. Click OK.
>
> 2. With the document open, press Ctrl+Alt+Shift+S to display the Styles
> pane.
>
> 3. Click the Options... button in the lower right corner.
>
> 4. Ensure that Paragraph level formatting and Font formatting are both
> checked. Click OK.
>
> 5. In the list of styles, look for one named Heading 2 + Italic.
> Right-click it, and choose Modify. Ensure that "Automatically update" is
> not enabled. Click OK.
>
> 6. Right-click Heading 2 + Italic again, and click on Select all #
> instances. This should select all of the italicized instances of Heading
> 2.
>
> 7. Right above (or close thereto) in the list of styles, you should see
> Heading 2 without + Italic. Click on that style. This will apply the
> "pure" Heading 2--without Italics--to the now-selected headings.
>
>
> --
> Herb Tyson MS MVP
> Author of the Word 2007 Bible
> Blog: http://word2007bible.herbtyson.com
> Web: http://www.herbtyson.com
>
>
> "StevenM" <stevencraigmiller(at)comcast(dot)net> wrote in message
> news:70FCA8BE-1624-44E0-81B6-(E-Mail Removed)...
>> To: Steve,
>>
>> This macro should remove all Italic from all headers.
>>
>> '
>> ' Remove Italic from all Headers
>> '
>> Sub ChangeHeaders()
>> Dim oSection As Section
>> Dim oHeader As HeaderFooter
>>
>> For Each oSection In ActiveDocument.Sections
>> For Each oHeader In oSection.Headers
>> oHeader.Range.Italic = False
>> Next oHeader
>> Next oSection
>> End Sub
>>
>> If you need help installing it, just ask.
>>
>> Steven Craig Miller
>>
>> "Steve" wrote:
>>
>>> I am using Office Word 2007. I somehow have half my Header 2 titles
>>> italicized, and the other half without italics. Is there any what I can
>>> change this at the same time>
>>>
>>> My table of contents shows the differences so I need to make all my
>>> Header 2
>>> the same.
>>>
>>> Any easy way to do this without having to make this change one-by one in
>>> my
>>> 350 page document?
>>>
>>> Thanks,
>>>
>>> Steve

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeat Heading 1 section titles in header GreenBoy Microsoft Word Document Management 3 9th Oct 2006 11:27 PM
DBGrid Header Titles Problem ! Ramtin Microsoft C# .NET 0 9th Oct 2004 01:42 PM
DBGrid header titles don't follow charset !? Michael Culley Microsoft C# .NET 4 4th Oct 2004 12:18 PM
Help With Subreport Header (Field Titles) =?Utf-8?B?R2xlbm4gRS4gV2hpdGU=?= Microsoft Access Reports 2 26th Feb 2004 07:46 PM
Chapter Titles in Header! Csaba Kiss Microsoft Word Document Management 1 31st Aug 2003 11:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:07 AM.