Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Mail Merge from Access

1. Did you just remove the line with the Quit? i.e. is the Set objWordApp =
Nothing still in there?
2. Maybe you also need to set cnn = Nothing. I can't remember what happens
in that case!
3. If you are still stuck, I can have another look, but I am probably near
the end of my ability to debug this one.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"justme0010" wrote in message
...

OK, I've tried out your code except I don't use the part where it exits
Word. I want Word to remain open because I want to still see the
envelope addresses but I just want the template part (main document)
closed. It still tells me the database cannot be opened around the 8th
execution (after 7 smooth executions). I dont know if its because of
not exitting Word but I would like to keep Word open until the user
exits it.

Yes, if worst comes to worst I will have to find a way to create the
main document entirely in code. Thanks again for the immense help.




--
justme0010


 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail merge from Access scubadiver Mailmerge 2 March 22nd 07 01:14 PM
Mail Merge .bmp from access? pope Mailmerge 2 February 16th 07 07:06 AM
word opens access in mail merge. Access is already opened.=twice Sherri Mailmerge 1 February 11th 06 05:59 PM
Mail merge with an .mde access db Warrio Mailmerge 1 June 16th 05 01:20 PM
Mail Merge from Access ken a Mailmerge 1 March 14th 05 01:07 PM


All times are GMT +1. The time now is 02:53 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"