Re: Eliminating all headers

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Joe,

You may get other recomendations, this is how I do it.

Open the header and footer view, press CTRL+r (aligns right), press the
insert page number icon on the Header and Footer toolbar (or enter the field
manually by pressing CTRL+F9 then type PAGE inside the { }, right click and
select toggle field codes).


--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


jrfeagin@xxxxxxxxx wrote:
OK< thanks. I have not used that header/footer view. How do I get the
page numbers to the upper right hand corner? It insists on upper
left, and I see no way to move it under the various layout tabs?
Thanks, JOE

Don't use Insert > Pagen Numbers, ever. They will make things very
tough for you to edit. Instead go into Header and Footer view and
use the toolbar.

Yes, even if you use Insert > Page Numbers, they are still in the
header or footer; it is just that they are also in a frame.
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


"jrfeagin@xxxxxxxxx" <jrfeaginyahoocom@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message
news:4DAD16A1-5B0F-409A-8A06-1B2A30B03C4E@xxxxxxxxxxxxxxxx
OK, thanks. I ran that nice macro and it got rid of the headers.
Then I added
back in (using INSERT) new page numbers placed in top right corner.
They appear on the screen for each page-- however they do NOT print
out there when
I print of the pages of text? what's up?

Are page numbers always headers in Word 2003? Thanks.
--
JRF


"Greg Maxey" wrote:

The following macro will delete all header and footer text:

Sub DeleteHF()
Dim rngStory As Word.Range
Dim i As Long
i = ActiveDocument.Sections(1).Headers(1).Range.StoryType
For Each rngStory In ActiveDocument.StoryRanges
Do Until rngStory Is Nothing
Select Case rngStory.StoryType
Case 6 To 12
rngStory.Delete
Case Else
'Do nothing
End Select
Set rngStory = rngStory.NextStoryRange
Loop
Next
End Sub

See: http://www.gmayor.com/installing_macro.htm for instructions
for installing a macro.


--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


jrfeagin@xxxxxxxxx wrote:
I have a file given to me with headers in it, but I cannot figure
out how to eliminate all the headers (or footers) in the document
ALL at once. I can see how to do that one at a time, but How do I
quickly get rid of all headers and footers in a document. Thanks.


.



Relevant Pages

  • Re: unlink Footer/Header in VBA
    ... AutoText it will bring the section break with it. ... Header, a footer and Bibliography all in one. ... Bibliography" and another for "Footer for Bibliography". ...
    (microsoft.public.word.vba.general)
  • Re: Header and Footer with RichTextBox Control
    ... I send the footer and header to RTB when it is prining but I ... In that case the RTB will print its contents within that area of the page and you will know exactly what the minimum top and bottom margins of the printed pages will be. ... If the above is approximately what you are currently doing then all you need to do is print the header and the footer within the specified top and bottom margins, normally with the "nearest to the edge" vertical position of the header or footer text about half of the margin size from the edge of the page. ...
    (microsoft.public.vb.general.discussion)
  • Re: Automating Display of FOUO
    ... Greg Maxey/Word MVP ... The and tags do update the header footer on the page on ... I'm hoping to make a template that accommodates ...
    (microsoft.public.word.vba.general)
  • Re: Word 2007 Header and Footer Style
    ... Greg Maxey/Word MVP ... "Footer" style consistent with the cursor location. ... Header and Footer to 1. ... Still neither show in the Style Pane. ...
    (microsoft.public.word.docmanagement)
  • Re: MS Word 2007 .dotx can not remember Password protection on re-
    ... (I select the all area of the Document, except Header and Footer to be fully ... Than I put Save as .dot or .dotx. ... before the input the Source code in that Document or what. ...
    (microsoft.public.word.docmanagement)