Developer
Developer at UltraDNT.com
Tue Jan 20 16:12:30 CST 2004
I may be late to this thread , but I didn't see a resolution ... I always give the "main" doc a .DOT extension. The default action of a template is to always generate a new one of itself, leaving the original in place. By using a .dot, the result document is always something like "FormLetters1" when using the options: .MainDocumentType = 0 'wdFormLetters .Destination = 0 ' wdSendToNewDocument BTW - your users will surely ask .. How to print PART of a merged doc, since, in effect there are many page 1's in the resulting doc. The answer is by printing in sections, so in the Pages box of the Print dialog, they need to enter s10-s20 to print the 10th through 20th letters in the result. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Colby, John Sent: Tuesday, January 20, 2004 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Word 2K email merge problems What is this an event of? I can't find it in Word or Access. and searching for MailMergeSendToCustom on the web turns up nothing. John W. Colby The database guy -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, January 20, 2004 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Word 2K email merge problems JC ...try the MailMergeSendToCustom event ...iirc MS has code for directing the merge to use almost anything you tell it to ...HTH :) William Hindman <http://www.freestateproject.org> - Next Year In The Free State! ----- Original Message ----- From: "Colby, John" <JColby at dispec.com> To: "Accessd (E-mail)" <AccessD at databaseadvisors.com> Sent: Tuesday, January 20, 2004 12:51 PM Subject: [AccessD] Word 2K email merge problems > Folks, > > I'm trying to do an email merge where the merge data document is named > differently that the original data document. IOW, I set up the > original document in a directory on the server. I set up a data > document (text file) > out there to test the document, get it working etc. When it comes > time to merge I need the actual data document to be located on the > local drive because this merge process could be preformed by several > people at the same > time and by doing it locally I avoid "collisions". I also rename both > the merge document itself and it's data document. It seems this > should be doable, but I can't find a way to programatically set the > merge data > (document) name at merge time. > > Is this possible? > > John W. Colby > The database guy > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com