I am trying to run some code to set the label of an appointment. I have found the code for this, using CDO.
When I try to run it, it fails on the line:
Dim objCDO As MAPI.Session
I believe this means that I am missing a reference to something, but I don't now what I should be trying to reference.
Can anyone tell me what reference I need to add to my project to enable this line to work?
Is this a really dumb question? I often face this issue in which I know the name of something (such as CDO or MAPI), but I don't know the exact name of the DLL, and I don't know exactly what description to look for in VBA when trying to use Tools\References. Everytime I do that I have to wonder if everyone else knows a clever way to avoid this issue, some search tool, or something like that.
I am happy with a specific answer to this question, and I would be delighted if someone could give me a general solution to this type of issue.