![]() |
|
|
|
#1
|
|||
|
|||
|
Hi I feel I am getting close to the answer with this code, but it still needs to be corrected.
Private Sub CommandButton1_Click() Dim OL As Object Dim EmailItem As Object Dim abc As String 'To add to a Word newsletter an Unsubscribe button Application.ScreenUpdating = False Set OL = CreateObject("Outlook.Application") Set EmailItem = OL.CreateItem(olMailItem) Application.UserName = "abc" With EmailItem .Subject = "Unsubscribed" .Body = "This person has unsubbed" .To = "my email@xzy.com" .Importance = olImportanceNormal .Attachments.Add abc .Send End With Application.ScreenUpdating = True End Sub |
|
|
|
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 |