Improve company productivity with a Business Account.Sign Up

x
?
Solved

MS Access run process in outlook 2003

Posted on 2013-01-04
6
Medium Priority
?
471 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:Larry Brister
  • 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:Larry Brister
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
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.

 

Author Comment

by:Larry Brister
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:Larry Brister
ID: 38762691
Thanks folks!
0

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
Usually, rounding is performed by some power of 10 - to thousands, hundreds, tens, or integer - or to one, two, or more decimals. But rounding can also be done to a power of two, say, 16 or 64, or 1/32 or 1/1024, even for extreme values.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

588 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