Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 386
  • Last Modified:

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.
0
Andy Brown
Asked:
Andy Brown
1 Solution
 
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.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now