Hi David,
Well ... I have a couple of thoughts.
First is that at the top of the code you have
But, later on you have
The "s" makes all the difference in the world. Recipients is undefined.
Second, not sure where TN is defined. From your last posting, it seems that maybe TN is a Name you gave to a Range of cells in Excel. To refer to that Range in VBA, you would use something like
But, I am quite certain that Lotus will reject that as well because it is probably expecting a text string, not an Excel Range. To, to convert the range (containing text strings, I hope) to a single text string, you would need something like this:
When I use VBA to send LotusNotes stuff, I use internet format for e-mail addresses.
Also, I use separate commands to append the recipients from the command to send the e-mail. (But, if above solves your problem, do not bother changing it.)
To add recipient list:
To send the e-mail:
Hope this helps.
Bookmarks