![]() ![]() After that, shift to “(All Fields)” label and select “All Mail fields”.In its window, turn to “Developer” tab and hit “Design This Form”. After sending the mail out, you can double click to open it.In my instance, the recipients should include and the subject should contain “test”. Then you can compose the email as usual, but select the recipients and fill in the subject according to your codes.Click “New Email” button in Outlook main window.Eventually you can have a try to ensure if the code can work normally.After that, you need to sign this code and change the macro settings to only enable digitally signed macros. ![]() If InStr(LCase(NewMail.To), Addr) > 0 And InStr(LCase(NewMail.Subject), Subj) Then ![]() 'Specify the email recipients and subject 'Replace Addr & Subj with your own desired strings Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |