Posted: Tue Oct 09, 2007 1:21 pm Post subject: Macro for that stops a picture from printing
Hi,
I'm using microsoft word 2003 and I want to set a JPEG in the header and
footer background to show the other people where to type but do not want this
to JPEG to print. I just want it to be in the document as a reference image
as it is to be pre-printed.
I had a reply that a macro is available to be able to do this, if so can
someone forward me in the right direction?
Posted: Tue Oct 09, 2007 2:01 pm Post subject: Re: Macro for that stops a picture from printing
Martin H was telling us:
Martin H nous racontait que :
Quote:
Hi,
I'm using microsoft word 2003 and I want to set a JPEG in the header
and footer background to show the other people where to type but do
not want this to JPEG to print. I just want it to be in the document
as a reference image as it is to be pre-printed.
I had a reply that a macro is available to be able to do this, if so
can someone forward me in the right direction?
Something like this to get you going:
'_______________________________________
Dim rgeHeader As Range
Dim rgeFooter As Range
Set rgeHeader =
ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary).Range
Set rgeFooter =
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range
You cannot post new topics in this forum You cannot 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