A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word merge file help needed SOLVED



 
 
Thread Tools Display Modes
  #1  
Old November 28th, 2005, 05:30 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default Word merge file help needed SOLVED

Joe Cilinceon wrote:
I have a Lease.doc that works fine using the bookmark method with one
exception. If the bookmark is in the header or footer it will only
print once and I have to restart the Access app to print another
lease. Rem the code for the header bookmark in Access and remove the
bookmark in Word and I could print as many as I want no problem. I'm
using Office XP and Access app has 2002 version files. Is there
something I'm missing about bookmarks and header/footers.


Solved it with a macro in Word to test to that the bookmark existed in the
header. Code is as follows:

Sub GotoHeaderBookmark()
If ActiveDocument.Bookmarks.Exists("lease") = True Then
ActiveDocument.Bookmarks("lease").Select
End If
End Sub

Now it puts it in from my Access application so all is well. Thanks to those
that responded.

--

Joe Cilinceon



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set right and left alignment on the same line in Word? Matador Page Layout 1 November 9th, 2005 08:32 PM
is word perfect compatible with office word? Noreen General Discussion 1 May 11th, 2005 11:17 PM
Word 2000/2002 - Proper Mail Merge steps for ODBC? Tony_VBACoder Mailmerge 7 September 2nd, 2004 09:21 PM
Office 2003 uninstall/reinstall problems Jerryn3 Setup, Installing & Configuration 2 August 2nd, 2004 03:39 PM
How to run word and pass a mail merge values and fax it to the recipient Belinda Mailmerge 2 June 13th, 2004 12:49 AM


All times are GMT +1. The time now is 08:15 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.