I've been browsing many entries on this subject and have numerous versions of the sample code but to no avail.
My issue is simple enough, I'm trying to get at the notes objects to simply add an attachment to a notes document (db other than email) but I can't get past the 1st line of code:
dim session as New NotesSession, also have tried late binding as well. I've set the reference to "Lotus Notes Automation Classes" within the VBA editor, but I don't seem to have access to all the same objects. Is there another file I need to add the need references to these objects?
Here is a simplified snippet I've tried:
Dim session As New NOTESSESSION
Results in "invalid use of new keyword", so try late binding:
Dim session As Object
Set session = CreateObject("Notes.NotesSession")
results in "Object does not support that property or method"
Hopefully, I'm doing something simple and stupid wrong and someone can help. I have notes client 6.x installed, are there some other files I need?