![]() |
|
#1
|
|||
|
|||
|
Hi I am starting up a monthly newsletter and want to add a unsubscribe button in Vba
I can get the button in position but need the code. Help appreciated. I have written this but it needs editing. Sub UnsubEmail () Dim c1App As Outlook.Application Dim c1Mail As Outlook.MailItem Set c1App = CreateObject(“Outlook.Application”) Set c1Mail = c1App.CreateItem(c1MailItem) c1Mail.To = My Email c1mail.Subject = “Unsubscribe” c1Mail.Body = “Unsubscribe this person” c1Mail.Send ‘Clean Up Set c1App = Nothing Set c1Mail = Nothing End Sub Last edited by Browny38; 01-03-2019 at 05:19 PM. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Electronic Newsletter
|
MaineLady | Word | 1 | 09-11-2016 06:16 PM |
| Problems sending html newsletter | vanderloo | Outlook | 0 | 11-08-2012 11:31 AM |
| unneccesary gap in newsletter, please help! | slain | Outlook | 0 | 05-07-2011 03:44 AM |
| Email marketing help - "Unsubscribe" Footer | DoughMan | Outlook | 0 | 04-06-2011 10:57 AM |
Curve the Text Box in a Newsletter?
|
lewiedude | Publisher | 2 | 11-08-2005 08:52 AM |