Solved

MS Access run process in outlook 2003

Posted on 2013-01-04
6
440 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now