Adding Outlook Tasks To A Calendar
Posted on 2008-02-06
I have a question for with regards to Outlook and possibly some VBA programming. I am using the tasks feature of Outlook. With outlook, you have your main task folder and then you can also create some sub folders tasks taht are seperate from your main task folder. I would like to see the individual tasks i enter appear on the calendar as multi day events based on the start and end dates so I do not have to enter the information twice (first add it to my task list and then add it to a calendar. More speficially, I would like to:
Sub Task folder: "Project Integrity - General"
1) Press a button that will create a new calendar in my Outlook based on the name of the task folder(in my example: "Project Integrity - General"
2) the code would then take the individual tasks and add them to the newly created folder as multiday events based on the start and end dates.
3) If the calendar already exists, then it will just update the dates based on the dates in the task folder
A couple of things I need to have the code keep in mind:
-I do not want it to update all of the tasks folders at once. Ideally, it would be create if a message box could appear and I could select the task folder to update so I can update them one at a time. If not, I just want to ensure that nothing appears in my main calendar.
-For tasks that I check off as completed, I want them to stay in the calendar, rather than being removed.
Thank you so much for taking the time to help me with this. Please let me know if I need to provide more information or if I was not clear. Thank you!!!