Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
How do I get rid of all headers and footers at once, and fix the template so
none ever appear? I never use them, but somehow they creep in. JF |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
To delete headers and footers in a document: Activate the header/footer
view, for examply by double-clicking the header. Then delete the header and footer contents. Note that each Word section can have up to three different headers (and footers), namely, if the "Different odd and even" and "Different first page" options are both checked in the Page Layout dialog box. Each type of header (footer) must be deleted separately. For more on headers and footers, see http://sbarnhill.mvps.org/WordFAQs/HeaderFooter.htm. To delete headers and footers in a template, you'll do the same as for documents. Just remember to open the template as a document (via the Open dialog box) first. If you want a macro solution, here's a simple one: Sub DeleteHeadersAndFooters() Dim s As Section For Each s In ActiveDocument.Sections s.Headers(wdHeaderFooterEvenPages).Range.Text = "" s.Headers(wdHeaderFooterFirstPage).Range.Text = "" s.Headers(wdHeaderFooterPrimary).Range.Text = "" s.Footers(wdHeaderFooterEvenPages).Range.Text = "" s.Footers(wdHeaderFooterFirstPage).Range.Text = "" s.Footers(wdHeaderFooterPrimary).Range.Text = "" Next s End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... How do I get rid of all headers and footers at once, and fix the template so none ever appear? I never use them, but somehow they creep in. JF |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
Many thanks, Joe "Stefan Blom" wrote: To delete headers and footers in a document: Activate the header/footer view, for examply by double-clicking the header. Then delete the header and footer contents. Note that each Word section can have up to three different headers (and footers), namely, if the "Different odd and even" and "Different first page" options are both checked in the Page Layout dialog box. Each type of header (footer) must be deleted separately. For more on headers and footers, see http://sbarnhill.mvps.org/WordFAQs/HeaderFooter.htm. To delete headers and footers in a template, you'll do the same as for documents. Just remember to open the template as a document (via the Open dialog box) first. If you want a macro solution, here's a simple one: Sub DeleteHeadersAndFooters() Dim s As Section For Each s In ActiveDocument.Sections s.Headers(wdHeaderFooterEvenPages).Range.Text = "" s.Headers(wdHeaderFooterFirstPage).Range.Text = "" s.Headers(wdHeaderFooterPrimary).Range.Text = "" s.Footers(wdHeaderFooterEvenPages).Range.Text = "" s.Footers(wdHeaderFooterFirstPage).Range.Text = "" s.Footers(wdHeaderFooterPrimary).Range.Text = "" Next s End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... How do I get rid of all headers and footers at once, and fix the template so none ever appear? I never use them, but somehow they creep in. JF |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
Oh, also , can I delete headers and footers in the styles and formatting pane
somehow, they keep coming back after I delete them there? thanks, Joe "Stefan Blom" wrote: To delete headers and footers in a document: Activate the header/footer view, for examply by double-clicking the header. Then delete the header and footer contents. Note that each Word section can have up to three different headers (and footers), namely, if the "Different odd and even" and "Different first page" options are both checked in the Page Layout dialog box. Each type of header (footer) must be deleted separately. For more on headers and footers, see http://sbarnhill.mvps.org/WordFAQs/HeaderFooter.htm. To delete headers and footers in a template, you'll do the same as for documents. Just remember to open the template as a document (via the Open dialog box) first. If you want a macro solution, here's a simple one: Sub DeleteHeadersAndFooters() Dim s As Section For Each s In ActiveDocument.Sections s.Headers(wdHeaderFooterEvenPages).Range.Text = "" s.Headers(wdHeaderFooterFirstPage).Range.Text = "" s.Headers(wdHeaderFooterPrimary).Range.Text = "" s.Footers(wdHeaderFooterEvenPages).Range.Text = "" s.Footers(wdHeaderFooterFirstPage).Range.Text = "" s.Footers(wdHeaderFooterPrimary).Range.Text = "" Next s End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... How do I get rid of all headers and footers at once, and fix the template so none ever appear? I never use them, but somehow they creep in. JF |
#5
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
You are welcome.
-- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... Many thanks, Joe "Stefan Blom" wrote: To delete headers and footers in a document: Activate the header/footer view, for examply by double-clicking the header. Then delete the header and footer contents. Note that each Word section can have up to three different headers (and footers), namely, if the "Different odd and even" and "Different first page" options are both checked in the Page Layout dialog box. Each type of header (footer) must be deleted separately. For more on headers and footers, see http://sbarnhill.mvps.org/WordFAQs/HeaderFooter.htm. To delete headers and footers in a template, you'll do the same as for documents. Just remember to open the template as a document (via the Open dialog box) first. If you want a macro solution, here's a simple one: Sub DeleteHeadersAndFooters() Dim s As Section For Each s In ActiveDocument.Sections s.Headers(wdHeaderFooterEvenPages).Range.Text = "" s.Headers(wdHeaderFooterFirstPage).Range.Text = "" s.Headers(wdHeaderFooterPrimary).Range.Text = "" s.Footers(wdHeaderFooterEvenPages).Range.Text = "" s.Footers(wdHeaderFooterFirstPage).Range.Text = "" s.Footers(wdHeaderFooterPrimary).Range.Text = "" Next s End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... How do I get rid of all headers and footers at once, and fix the template so none ever appear? I never use them, but somehow they creep in. JF |
#6
Posted to microsoft.public.word.newusers
|
|||
|
|||
MS word
You can choose which styles to display in the pane; see
http://www.shaunakelly.com/word/sfpa...atUseTheSFPane. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... Oh, also , can I delete headers and footers in the styles and formatting pane somehow, they keep coming back after I delete them there? thanks, Joe "Stefan Blom" wrote: To delete headers and footers in a document: Activate the header/footer view, for examply by double-clicking the header. Then delete the header and footer contents. Note that each Word section can have up to three different headers (and footers), namely, if the "Different odd and even" and "Different first page" options are both checked in the Page Layout dialog box. Each type of header (footer) must be deleted separately. For more on headers and footers, see http://sbarnhill.mvps.org/WordFAQs/HeaderFooter.htm. To delete headers and footers in a template, you'll do the same as for documents. Just remember to open the template as a document (via the Open dialog box) first. If you want a macro solution, here's a simple one: Sub DeleteHeadersAndFooters() Dim s As Section For Each s In ActiveDocument.Sections s.Headers(wdHeaderFooterEvenPages).Range.Text = "" s.Headers(wdHeaderFooterFirstPage).Range.Text = "" s.Headers(wdHeaderFooterPrimary).Range.Text = "" s.Footers(wdHeaderFooterEvenPages).Range.Text = "" s.Footers(wdHeaderFooterFirstPage).Range.Text = "" s.Footers(wdHeaderFooterPrimary).Range.Text = "" Next s End Sub For assistance, see http://www.gmayor.com/installing_macro.htm. -- Stefan Blom Microsoft Word MVP "removing all headers and footers" wrote in message ... How do I get rid of all headers and footers at once, and fix the template so none ever appear? I never use them, but somehow they creep in. JF |