Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I don't want my footers to appear on printed document

1,011 views
Skip to first unread message

Jean

unread,
Feb 13, 2010, 12:58:06 PM2/13/10
to
Microsoft Office 2003
I want to see headers / footers on my screen but I want to PRINT my document
WITHOUT showing the headers / footers

Stefan Blom

unread,
Feb 13, 2010, 3:13:47 PM2/13/10
to
One way would be to intercept the FilePrint and FilePrintDefault commands in
Word so that the header and footer contents are deleted prior to printing.

--
Stefan Blom
Microsoft Word MVP

"Jean" <Je...@discussions.microsoft.com> wrote in message
news:6F8AAFFB-FD0D-417E...@microsoft.com...

Graham Mayor

unread,
Feb 14, 2010, 2:04:34 AM2/14/10
to
That might work, however you would still have to allocate space for the
header/footer if you want the document to retain the layout, so it would be
better to colour them white - you will find a macro to do this at
http://www.gmayor.com/Optionally_print_letterhead.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

"Stefan Blom" <Stefa...@discussions.microsoft.com> wrote in message
news:O%23XWaiOr...@TK2MSFTNGP02.phx.gbl...

Stefan Blom

unread,
Feb 14, 2010, 9:21:01 AM2/14/10
to
White color sounds like a better idea. Thanks for the tip. :-)

--
Stefan Blom
Microsoft Word MVP

"Graham Mayor" <gma...@REMOVETHISmvps.org> wrote in message
news:ORMG4PU...@TK2MSFTNGP06.phx.gbl...

Lynette Nelson

unread,
Aug 30, 2011, 5:21:26 PM8/30/11
to
Graham, I used your method to white out the headers on a Word 2003 doc and it worked perfectly. However, I now have another document I need to use it on and I'm running into a problem. This new document was created for us by a third party. It was created in Word 2010. We have 2003 so it was converted when opened and then I saved it as a 2003 document and tried to copy and paste the macro into the new document.

When I open the document, I get the normal "enable macro" popup. When I run the macro, it works but only up to the point where it whites out the header. After whiting out the header, it errors out with the message:

Run-time error '-2147024891 (80070005)':
This member can only be accessed for a picture or an OLE object.

Debug brings me to this line:
oRng.ShapeRange(i).PictureFormat.Brightness = 1#

The header only contains one JPG graphic, which is how the first document I used this on is also set up.

Do you have any suggestions? Does this have anything to do with the fact that it was created in a later Word version?

Any light you can shed would be appreciated! Thanks!

Lynette

> On Saturday, February 13, 2010 12:58 PM Jean wrote:

> Microsoft Office 2003
> I want to see headers / footers on my screen but I want to PRINT my document
> WITHOUT showing the headers / footers


>> On Saturday, February 13, 2010 3:13 PM Stefan Blom wrote:

>> One way would be to intercept the FilePrint and FilePrintDefault commands in
>> Word so that the header and footer contents are deleted prior to printing.
>>
>> --
>> Stefan Blom
>> Microsoft Word MVP


>>> On Sunday, February 14, 2010 2:04 AM Graham Mayor wrote:

>>> That might work, however you would still have to allocate space for the
>>> header/footer if you want the document to retain the layout, so it would be
>>> better to colour them white - you will find a macro to do this at
>>> http://www.gmayor.com/Optionally_print_letterhead.htm
>>>
>>> --
>>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>> Graham Mayor - Word MVP
>>>
>>> My web site www.gmayor.com
>>> Word MVP web site http://word.mvps.org
>>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>


>>>> On Sunday, February 14, 2010 9:21 AM Stefan Blom wrote:

>>>> White color sounds like a better idea. Thanks for the tip. :-)
>>>>

bladezbytamara...@gmail.com

unread,
Jun 21, 2017, 9:24:17 AM6/21/17
to
Mdkdkdkokckdmdmdkrmdocokfkdoketxmcm💸💰📒🏁➕💲🏆🏋⚽🏈🎖🎱⚡⛄🌊
0 new messages