I have a fairly large Excel file. In this file there is a column with dates. I would like to know if/how it would be possible to make a program that would be able to read the date and post a notice 30 days in advance to Outlook Calendar or send out an email through Outlook in my office. Is there a decent API that I could use for this? If so, where may I find one? Or, are there any existing programs capable of this function?
Share
You should be able to write an Excel VBA script that interacts with Outlook.
See http://www.dicks-clicks.com/excel/olAutomating.htm for a good guide on this.
Specifically http://www.dicks-clicks.com/excel/olCalendar.htm#Creating_an_Appointment mentions how to create Calendar items. Just be aware most samples are for Outlook/Excel 2000, i imagine most should still work with newer versions but some objects may be renamed.
Outlook Code is another good site with code samples for Outlook integration in general. Eg. http://outlookcode.com/article.aspx?id=49
Of course you don’t have to code everything inside Excel you should easily be able to do the same thing in a custom application (eg. a .NET application).