Generating Outlook appointments with VBA

Hi All, I have an Access database that can generate iCalendar and vCalendar files, which are then sent to the relevant parties and added to whichever system they are using.  

However, I want to be able to generate a file that I can send out, which also has the "Accept", "Decline" options (Outlook calls it 'Invite Attendees').  Is this possible?

Thanks as always for the help.
Andy BrownDeveloperAsked:
Who is Participating?
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
If you're willing to spend a small bit of money, you can use vbMAPI from www.everythingaccess.com. I started using this for any Outlook requirements in my Access projects, and it's been a great investment. Note I have on affiliation with this product other than being a satisfied customer.

If you're not looking to do that, then perhaps this link will help:

http://bytes.com/topic/access/answers/200177-problem-automatically-sending-outlook-appointment-generated-vb-access-97-a

The author there indicates that you must change the appointment item to a Meeting:

objAppt.MeetingStatus = Outlook.OlMeetingStatus.olMeeting

Also, when you ask questions like this it's always a good idea to include the code that you're using to generate these items.
0
 
Andy BrownDeveloperAuthor Commented:
Thank you for that.  I still haven't tried it - but it looks like the right tool for the job.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.