From: cronoklee on 22 Oct 2009 09:49 Hi I have a large image in the header of a word document that I do not want to print. I'm printing onto headed notepaper and I want to show a preview of how the whole page will look. It needs to work on older versions of word as well as 2007. Is this possible please? Thanks a lot, Ciarán
From: Doug Robbins - Word MVP on 22 Oct 2009 15:34 Bookmark the image (in the following code, the bookmark name used was logo) and then run the following macro which will toggle the display of the image that is contained within that bookmark. To prevent it from printing, you will also need to uncheck the Print Option for Hidden text. With ActiveDocument If .Bookmarks.Exists("Logo") Then With .Bookmarks("Logo").Range.Font If .Hidden = True Then .Hidden = False ActiveWindow.View.ShowHiddenText = True Else .Hidden = True ActiveWindow.View.ShowHiddenText = False End If End With Else Exit Sub End If End With -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "cronoklee" <cronoklee(a)gmail.com> wrote in message news:bbc5d176-8f63-47fb-9379-2865c94b7132(a)z34g2000vbl.googlegroups.com... Hi I have a large image in the header of a word document that I do not want to print. I'm printing onto headed notepaper and I want to show a preview of how the whole page will look. It needs to work on older versions of word as well as 2007. Is this possible please? Thanks a lot, Ciar�n
From: cronoklee on 22 Oct 2009 16:32 On Oct 22, 8:34 pm, "Doug Robbins - Word MVP" <d...(a)REMOVECAPSmvps.org> wrote: > Bookmark the image (in the following code, the bookmark name used was logo) > and then run the following macro which will toggle the display of the image > that is contained within that bookmark. To prevent it from printing, you > will also need to uncheck the Print Option for Hidden text. > > With ActiveDocument > If .Bookmarks.Exists("Logo") Then > With .Bookmarks("Logo").Range.Font > If .Hidden = True Then > .Hidden = False > ActiveWindow.View.ShowHiddenText = True > Else > .Hidden = True > ActiveWindow.View.ShowHiddenText = False > End If > End With > Else > Exit Sub > End If > End With > > -- > Hope this helps. > > Please reply to the newsgroup unless you wish to avail yourself of my > services on a paid consulting basis. > > Doug Robbins - Word MVP, originally posted via msnews.microsoft.com"cronoklee" <cronok...(a)gmail.com> wrote in message > > news:bbc5d176-8f63-47fb-9379-2865c94b7132(a)z34g2000vbl.googlegroups.com... > Hi I have a large image in the header of a word document that I do not > want to print. I'm printing onto headed notepaper and I want to show a > preview of how the whole page will look. It needs to work on older > versions of word as well as 2007. Is this possible please? > > Thanks a lot, > Ciarán Cool thanks a lot , I'll give it a shot! Ciarán
From: macropod on 22 Oct 2009 17:24 Hi cronoklee, You could do this with a field coed as: {IF{PRINTDATE \@ yyyyMMddHHmm}= {DATE \@ yyyyMMddHHmm} "" "Your image goes here."} Notes: 1. Pressing F9 or print preview restores the display. However, since the PRINTDATE field doesn't support seconds, you might have to wait up to a minute before you can restore the display after printing. 2. The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message. -- Cheers macropod [Microsoft MVP - Word] "cronoklee" <cronoklee(a)gmail.com> wrote in message news:bbc5d176-8f63-47fb-9379-2865c94b7132(a)z34g2000vbl.googlegroups.com... Hi I have a large image in the header of a word document that I do not want to print. I'm printing onto headed notepaper and I want to show a preview of how the whole page will look. It needs to work on older versions of word as well as 2007. Is this possible please? Thanks a lot, Ciar�n
|
Pages: 1 Prev: Selecting and cuttting sections (ROWS) Next: Delete Inline Shape Problem |