[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MS Access run process in outlook 2003

Posted on 2013-01-04
6
Medium Priority
?
463 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 30

Accepted Solution

by:
Randy Downs earned 1200 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 800 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 800 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

872 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