Help,
I am working on an VB6 app that uses Word 2K to send emails using the Mail Merge to Email method. How do I get the my form send (frmSend) to show a progess bar while the emails are being sent?
Here's What I got.... Addoc is the word document
frmSend.Show 'Tells user email are being sent
addoc.MailMerge.Destination = wdSendToEmail
addoc.MailMerge.MailAddressFieldName = "pe_email"
addoc.MailMerge.MailSubject = subject
addoc.MailMerge.SuppressBlankLines = True
addoc.MailMerge.MailAsAttachment = False
addoc.MailMerge.DataSource.FirstRecord = wdDefaultFirstRecord
addoc.MailMerge.DataSource.LastRecord = wdDefaultLastRecord
addoc.MailMerge.Execute Pause:=False
frmSend.Hide
Unload frmSend
Thanks
I am working on an VB6 app that uses Word 2K to send emails using the Mail Merge to Email method. How do I get the my form send (frmSend) to show a progess bar while the emails are being sent?
Here's What I got.... Addoc is the word document
frmSend.Show 'Tells user email are being sent
addoc.MailMerge.Destination = wdSendToEmail
addoc.MailMerge.MailAddressFieldName = "pe_email"
addoc.MailMerge.MailSubject = subject
addoc.MailMerge.SuppressBlankLines = True
addoc.MailMerge.MailAsAttachment = False
addoc.MailMerge.DataSource.FirstRecord = wdDefaultFirstRecord
addoc.MailMerge.DataSource.LastRecord = wdDefaultLastRecord
addoc.MailMerge.Execute Pause:=False
frmSend.Hide
Unload frmSend
Thanks