Solved

MS Access run process in outlook 2003

Posted on 2013-01-04
6
444 Views
Last Modified: 2013-01-10
I need a (Hopefully) VBA process to insert an appointment into Outlook.

We're using Office 2003

A link on the process is fine
0
Comment
Question by:lrbrister
  • 3
  • 2
6 Comments
 
LVL 29

Accepted Solution

by:
Randy Downs earned 300 total points
ID: 38744162
Try this

http://msdn.microsoft.com/en-us/library/office/aa210899(v=office.11).aspx

Using the AppointmentItem Object
Use the CreateItem method to create an AppointmentItem object that represents a new appointment.
The following Visual Basic for Applications (VBA) example returns a new appointment.
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olAppointmentItem)
            
Use Items (index), where index is the index number of an appointment or a value used to match the default property of an appointment, to return a single AppointmentItem object from a Calendar folder.
You can also return an AppointmentItem object from a MeetingItem object by using the GetAssociatedAppointment method.
Remarks
If a program tries to reference any type of recipient information by using the Outlook object model, a dialog box is displayed that asks you to confirm access to this information. You can allow access to the Address Book or recipient information for up to ten minutes after you receive the dialog box. This allows features, such as mobile device synchronization, to be completed.
You receive the confirmation dialog box when a solution tries to programmatically access the following properties of the AppointmentItem object:
Organizer
RequiredAttendees
OptionalAttendees
Resources
NetMeetingOrganizerAlias
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 200 total points
ID: 38744180
0
 

Author Comment

by:lrbrister
ID: 38744181
Number-1.
Thanks...I'll try and review this today or over the weekend.

May take me a a couple of days to get back
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:lrbrister
ID: 38744196
boag2000
Thanks. I'll review that as well
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 200 total points
ID: 38744271
Yes, there are many links to ways of doing this.
All using the same basic code

Here is a cool MS Link:
http://msdn.microsoft.com/en-us/library/office/aa159619%28v=office.11%29.aspx#odc_ac_olauto_addappointmentstooutlook

You can search here or in Google/Bing for many more.

Enjoy the weekend.

;-)

JeffCoachman
0
 

Author Closing Comment

by:lrbrister
ID: 38762691
Thanks folks!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This collection of functions covers all the normal rounding methods of just about any numeric value.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question