Recurring e-mail message in Outlook
Recurring e-mail message in Outlook
(OP)
Hello,
I have a really simple question. I'm attempting to create a reoccurring e-mail message in Outlook, in which I've located the following link, which works well: https://support.microsoft.com/en-us/help/239087/ho.... But my question is "How can I make multiple lines within the Body of the reoccurring e-mail on the below line 'NewItem.Body = "This is text that will appear in the body of the message."'?" The VB code that is provided in the above link is as follows:
Sub Item_PropertyChange(ByVal Name)
Select Case Name
Case "Status"
if Item.Status = 2 then '2 = Completed
Set NewItem = Application.CreateItem(0)
NewItem.To = "myemailaddress@myisp.com"
NewItem.Recipients.ResolveAll
NewItem.Subject = "This is the message subject text"
NewItem.Body = "This is text that will appear in the body of the message."
NewItem.Display
End IF
End Select
End Sub
Thank you for your response(s) ahead of time!
NX Prof
I have a really simple question. I'm attempting to create a reoccurring e-mail message in Outlook, in which I've located the following link, which works well: https://support.microsoft.com/en-us/help/239087/ho.... But my question is "How can I make multiple lines within the Body of the reoccurring e-mail on the below line 'NewItem.Body = "This is text that will appear in the body of the message."'?" The VB code that is provided in the above link is as follows:
Sub Item_PropertyChange(ByVal Name)
Select Case Name
Case "Status"
if Item.Status = 2 then '2 = Completed
Set NewItem = Application.CreateItem(0)
NewItem.To = "myemailaddress@myisp.com"
NewItem.Recipients.ResolveAll
NewItem.Subject = "This is the message subject text"
NewItem.Body = "This is text that will appear in the body of the message."
NewItem.Display
End IF
End Select
End Sub
Thank you for your response(s) ahead of time!
NX Prof





RE: Recurring e-mail message in Outlook
Dan - Owner
http://www.Hi-TecDesigns.com
RE: Recurring e-mail message in Outlook
CODE
RE: Recurring e-mail message in Outlook
And thank you so much xwb for your code, which worked well! Any ideas on how to have the automatic e-mail to include the Yes/No Vote option as if sending the e-mail as a normal e-mail? Thank you again!
RE: Recurring e-mail message in Outlook
CODE
CODE
RE: Recurring e-mail message in Outlook
Have a wonderful weekend!