I found a code on how to do a mass email from this site and it works great. But, now I am having problems with the DateDiff format. I have about 50 users that utilize the database daily. There are 3 versions of Outlook that are used here by the users. One User might have Outlook 2003, another might have Outlook 2000, and others have Outlook 97. Now when I created the code for Mass Emailing, I had to add the reference to Outlook. Now the reference is different for each version of Outlook. I have come to problem when a user has Outlook 97 on the computer they get an error when logging onto the DB, etc. The error is as follows:
Now, the only way I have figured out to fix this is to fix the reference every day. This is becoming a problem. Is there a way to fix it once and have no more problems with this. Any help is greatly appreciated.
Code:
DateDiff("yyyy",[start Date],Date())