View Single Post
  #3  
Old November 24th, 2008, 10:01 AM posted to microsoft.public.word.mailmerge.fields
Paul Ette[_2_]
external usenet poster
 
Posts: 1
Default Help With Emailing Attachments

Hi Doug,

I have tried your suggestion and that did the trick, thank you.

The message box was also giving the incorrect count so I have also updated
the message box code to:
MsgBox Source.Sections.Count - 1

Just for my peace of mind do you have any idea why this has been a problem?
Particularly as the rest of the process is working as expected.

Many thanks.

Paul
"Doug Robbins - Word MVP" wrote:

I recently modified the code in that article to try and overcome an issue
that a lot of people were having when they did not follow the instructions
correctly and it seems like the following line of code

For j = 1 To Source.Sections.Count

needs to be modified to

For j = 1 To Source.Sections.Count - 1

Try that and let me know how you get on.


--
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

"Paul Ette" Paul wrote in message
...
Hi all,

I have been trying to set up a mailmerge with attachments using Doug's
macro
with some degree of success.

When I run the macro the emails with attachments are created and sent
however I seem to get one extra blank email being produced to the last
person
in the catalog.

Any ideas would be gratefully accepted and tried.

Regards

Paul