Opens new mail from Excel but won't send the message

  • Thread starter Gina_28 via OfficeKB.com
  • Start date
G

Gina_28 via OfficeKB.com

Hello,

I have a macro that is pulling information from an Excel sheet, and for each
row, it opens a new Outlook mail message, with the specific information for
each person based on a general template for the message. The macro creates
the messages perfectly, and pulls in the information accurately, but will not
send the messages. So, I run my macro,and I now have 50 messages at the
bottom of my screen that I have to pull up and hit send for each one. Am I
missing a partial code that I need to add to the end of my macro? Or could
it be a firewall that is preventing it from sending?

Thank you very much!
Gina
 
S

Sue Mosher [MVP-Outlook]

Outlook version? Exactly what happens when the code executes your
MailItem.Send statement? Is your macro in Outlook or Excel?
 
G

Gina_28 via OfficeKB.com

I think I figured it out!! Was missing a (.Send) before the ('Or Use Display).


Thank you!!
Outlook version? Exactly what happens when the code executes your
MailItem.Send statement? Is your macro in Outlook or Excel?
[quoted text clipped - 6 lines]
missing a partial code that I need to add to the end of my macro? Or could
it be a firewall that is preventing it from sending?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top