B
Brady
I am running Word 2000 SP-3 on Windows XP SP2.
Is there a way of making a .tif graphic viewable in the header of a
mail-merge document onscreen but invisible when the document prints? I use an
Access 2000 database as the data source for form letters. Professionally
printed stationary used for correspondence already contains company logo and
contact info at the top of the sheet. I have a .tif file (that looks just
like the top of the stationary) that I want to put in the header of the
mail-merge document so as to see how the entire document will look when
printed. The database will be distributed to users with various versions of
Office (2000, XP & 2003).
I received some help at another newsgroup that was unsuccessful. I was told
to put the graphic in the header as an inline shape. Then, on the Format menu
set the text to Hidden. I was also reminded to make sure the top margin is
large enough. The code below only works after selecting Compile Project from
the Debug menu in the VB Editor. However, it does not run automatically when
the document is opened.
Private Sub Document_Open()
Dim strVersion As String
strVersion = Application.Version
strVersion = Left(strVersion, InStr(strVersion, ".") - 1)
ActiveWindow.View.ShowHiddenText = True
ThisDocument.Sections(1).Headers(wdHeaderFooterPrimary) _
.Range.Paragraphs(1).Range.Font.Hidden = (CLng(strVersion) > 8)
End Sub
When the mail-merge document is opened, I would like the .tif graphic to be
visible but non-printable. Is there a way?
Thanks!
Brady
Is there a way of making a .tif graphic viewable in the header of a
mail-merge document onscreen but invisible when the document prints? I use an
Access 2000 database as the data source for form letters. Professionally
printed stationary used for correspondence already contains company logo and
contact info at the top of the sheet. I have a .tif file (that looks just
like the top of the stationary) that I want to put in the header of the
mail-merge document so as to see how the entire document will look when
printed. The database will be distributed to users with various versions of
Office (2000, XP & 2003).
I received some help at another newsgroup that was unsuccessful. I was told
to put the graphic in the header as an inline shape. Then, on the Format menu
set the text to Hidden. I was also reminded to make sure the top margin is
large enough. The code below only works after selecting Compile Project from
the Debug menu in the VB Editor. However, it does not run automatically when
the document is opened.
Private Sub Document_Open()
Dim strVersion As String
strVersion = Application.Version
strVersion = Left(strVersion, InStr(strVersion, ".") - 1)
ActiveWindow.View.ShowHiddenText = True
ThisDocument.Sections(1).Headers(wdHeaderFooterPrimary) _
.Range.Paragraphs(1).Range.Font.Hidden = (CLng(strVersion) > 8)
End Sub
When the mail-merge document is opened, I would like the .tif graphic to be
visible but non-printable. Is there a way?
Thanks!
Brady