Wotme
Member
- Outlook version
- Outlook 2019 32-bit
- Email Account
- POP3
Hello thanks for looking I hope you can help
In the code below I can set standard Outlook fields, can someone tell me how I refer to a user-defined field so I can set the value of that field. For example my user-defined field is called "contact type" . I'm sure it's not a matter of using the same format as below to set the value.
In the code below I can set standard Outlook fields, can someone tell me how I refer to a user-defined field so I can set the value of that field. For example my user-defined field is called "contact type" . I'm sure it's not a matter of using the same format as below to set the value.
Code:
With objTask
> DueDate = olMail.SentOn
> Subject = olMail.Subject
> Categories = "report"
> Body = olMail.Body
> ReminderSet = True
> ReminderSet = DateAdd("d", 2, Now)
> StartDate = Date
.DueDate = DateAdd("d", 2, Now)
End With