(Msg. 17) Posted: Mon Sep 29, 2008 11:04 am
Post subject: Re: Removing Header and Footer Sections [Login to view extended thread Info.] Archived from groups: microsoft>public>word>pagelayout (more info?)
I also see that it works as you describe. I don’t remember having noticed the
"header from edge" problem earlier - most likely because I did not test so
small margins then.
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
"Suzanne S. Barnhill" wrote:
> I guess what I'm seeing as a difference is that now, if I set the top margin
> to 0.4" without changing the header margin to less than the default 0.5",
> the empty header no longer interferes.
>
> --
> Suzanne S. Barnhill
> Microsoft MVP (Word)
> Words into Type
> Fairhope, Alabama USA
>
> "Lene Fredborg" <lf RemoveThis @REMOVETHISthedoctools.com> wrote in message
> news:BE7D6C08-BD06-4E31-86F3-B36FA9F6224C@microsoft.com...
> > Regarding Word 2003: I have noticed that same and agree that something
> > must
> > have been fixed (that was why I - very unclear, I think - wrote ".what was
> > previously seen in earlier versions."). My point with the macro was to
> > show
> > that even if one cannot see the paragraph mark, it is still there.
> >
> > --
> > Regards
> > Lene Fredborg - Microsoft MVP (Word)
> > DocTools - Denmark
> > www.thedoctools.com > > Document automation - add-ins, macros and templates for Microsoft Word
> >
> >
> > "Suzanne S. Barnhill" wrote:
> >
> >> In Word 2003, I can use View | Header and Footer to open the header, type
> >> something in it, close the header, then reopen it and delete the text.
> >> When
> >> I then close the header, not only is no paragraph mark displayed in the
> >> header, but I can not open the header by double-clicking on it. IOW, I'm
> >> back to Square Zero. This suggests to me that something has been fixed,
> >> and
> >> that it should be possible to remove the headers of Word 2003 docs (or
> >> even
> >> Normal.dot), leaving no residue.
> >>
> >> Moreover, the template I use most often used to have an ineradicable
> >> header
> >> paragraph because I had foolishly opened the header to change the tab
> >> stops
> >> (because I had changed the margins), instead of changing them in Format |
> >> Style: Header without opening the header pane). Even though the header
> >> was
> >> "empty," there was an empty paragraph mark there. It is now no longer
> >> there.
> >> Again, I think some SP or other must have fixed this.
> >>
> >> --
> >> Suzanne S. Barnhill
> >> Microsoft MVP (Word)
> >> Words into Type
> >> Fairhope, Alabama USA
> >>
> >> "Lene Fredborg" <lf RemoveThis @REMOVETHISthedoctools.com> wrote in message
> >> news:27EC8D8B-F9CE-4ACE-A11C-3079CC4C4D54@microsoft.com...
> >> >I think the only difference between Word 2007 and what was previously
> >> >seen
> >> >in
> >> > earlier versions here is that the paragraph mark is now made invisible
> >> > if
> >> > there is no other content in the header (the same applies to the
> >> > footer).
> >> > If
> >> > you run the following little macro, you will find that the apparently
> >> > empty
> >> > header always contains a paragraph mark:
> >> >
> >> > Sub TestHeader()
> >> > With ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range
> >> > If .Text = Chr(13) Then
> >> > MsgBox "Header consists of a paragraph mark"
> >> > ElseIf .Text = "" Then
> >> > MsgBox "Header is empty"
> >> > End If
> >> > End With
> >> > End Sub
> >> >
> >> > --
> >> > Regards
> >> > Lene Fredborg - Microsoft MVP (Word)
> >> > DocTools - Denmark
> >> > www.thedoctools.com > >> > Document automation - add-ins, macros and templates for Microsoft Word
> >> >
> >> >
> >> > "Suzanne S. Barnhill" wrote:
> >> >
> >> >> I think this must have been fixed (at least for Word 2003) because I
> >> >> can
> >> >> now
> >> >> delete header/footer content in a Word 2003 document and see no empty
> >> >> paragraph in the header/footer.
> >> >>
> >> >> --
> >> >> Suzanne S. Barnhill
> >> >> Microsoft MVP (Word)
> >> >> Words into Type
> >> >> Fairhope, Alabama USA
> >> >>
> >> >> "PamC" <PamC RemoveThis @discussions.microsoft.com> wrote in message
> >> >> news:940FD7CE-BF9E-4615-8413-85A352E64697@microsoft.com...
> >> >> >I recall from reading discussions here and elsewhere--discussions
> >> >> > explaining why it's not a good idea to put headers and footers in
> >> >> > the
> >> >> > normal
> >> >> > template--that once a header or footer has been added to a document
> >> >> > you
> >> >> > cannot get rid* of the ending paragraphs marks.
> >> >> >
> >> >> > So, in a document that has never had header or footer content added,
> >> >> > displaying formatting marks while the cursor is in the main story
> >> >> > shows
> >> >> > no
> >> >> > paragraph mark in the header or footer. But doing the same thing
> >> >> > in
> >> >> > a
> >> >> > document that at one time had header or footer content will show a
> >> >> > paragraph
> >> >> > mark in the now nearly empty header or footer.
> >> >> >
> >> >> > I suspect that the difference is between the capability of a
> >> >> > header/footer
> >> >> > and the user created reality of it.
> >> >> >
> >> >> > *But not too long ago, a Word MVP, offered a VBA way of getting rid
> >> >> > of
> >> >> > it.
> >> >> > Sorry I can't recall where I saw it.
> >> >> >
> >> >> > PamC
> >> >> >
> >> >> >
> >> >> > "Suzanne S. Barnhill" wrote:
> >> >> >
> >> >> >> I'm not surprised. I just wonder what Word is registering as a
> >> >> >> change.
> >> >> >>
> >> >> >> --
> >> >> >> Suzanne S. Barnhill
> >> >> >> Microsoft MVP (Word)
> >> >> >> Words into Type
> >> >> >> Fairhope, Alabama USA
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >>
> >>
> >>
> >>
> >
>
>
>
(Msg. 18) Posted: Mon Oct 06, 2008 7:39 am
Post subject: RE: Removing Header and Footer Sections [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I found a way around having to change margin settings and it seems to work
every time.
The trick is that you HAVE to actually be in the header or footer field for
it to work. Turn on Show/Hide so you see paragraph marks and go into the
header field or footer field. If there is text to delete, highlight it,
delete it then click on the Close Header/Footer button in the Header/Footer
Design Tab. The last paragraph mark in the header should become the first
paragraph mark in the body AT the top of the page. If you DON'T open the
header area and just hit the delete header key, the last paragraph mark still
holds the space for a new nonexistent header.
If just the paragraph mark is there, highlight it and click the close header
button, you may have to do this a few times to get it to disappear, but it
will happen. Again, if you just hit Delete, it won't work so make sure to
use the Close Header/Footer button.
All times are: Eastern Time (US & Canada) (change) Goto page Previous1, 2, 3
Page 3 of 3
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum