--
Stefan Blom
Microsoft Word MVP
"Jean" <Je...@discussions.microsoft.com> wrote in message
news:6F8AAFFB-FD0D-417E...@microsoft.com...
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
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
Microsoft Word MVP
"Graham Mayor" <gma...@REMOVETHISmvps.org> wrote in message
news:ORMG4PU...@TK2MSFTNGP06.phx.gbl...
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. :-)
>>>>