PC Review


Reply
Thread Tools Rate Thread

Adding appointment to another user's Exchange calendar

 
 
etarc
Guest
Posts: n/a
 
      3rd May 2006
Hi all!

I have scoured far and near looking for an answer.

My goal is to have user A schedule appointments from an Access 03
database for about eight other users.

I have gotten as far as having the appointment show up in my calendar,
but have not been able to:

1. Put it into another users calendar (in this case Joe Smith).
2. Eventually have it not show up in my (or the "scheduler's")
calendar.

Here is what I've got so far:

Dim objOutlook As Outlook.Application
Dim objAppt As Outlook.AppointmentItem

Set objOutlook = CreateObject("Outlook.Application")
Set objAppt = objOutlook.CreateItem(olAppointmentItem)

With objAppt
.Recipients.Add "Joe Smith"
.Start = Me.DOS & " " & Me.txtApptTime
.Duration = 30
.Subject = "Patient " & Me.txtPatientName
.Location = Me.txtPhysician
.Body = Me.memComments1
.Display
.Save
.Close (olSave)

End With

Set objAppt = Nothing

How do I handle the Exchange situation with getting into Joe Smith's
calendar?

I would be very grateful for anyone who can point me in the right
direction!

JC

 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      3rd May 2006
Use Namespace.GetSharedDefaultFolder, then call MAPIFolder.Items.Add

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"etarc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all!
>
> I have scoured far and near looking for an answer.
>
> My goal is to have user A schedule appointments from an Access 03
> database for about eight other users.
>
> I have gotten as far as having the appointment show up in my calendar,
> but have not been able to:
>
> 1. Put it into another users calendar (in this case Joe Smith).
> 2. Eventually have it not show up in my (or the "scheduler's")
> calendar.
>
> Here is what I've got so far:
>
> Dim objOutlook As Outlook.Application
> Dim objAppt As Outlook.AppointmentItem
>
> Set objOutlook = CreateObject("Outlook.Application")
> Set objAppt = objOutlook.CreateItem(olAppointmentItem)
>
> With objAppt
> .Recipients.Add "Joe Smith"
> .Start = Me.DOS & " " & Me.txtApptTime
> .Duration = 30
> .Subject = "Patient " & Me.txtPatientName
> .Location = Me.txtPhysician
> .Body = Me.memComments1
> .Display
> .Save
> .Close (olSave)
>
> End With
>
> Set objAppt = Nothing
>
> How do I handle the Exchange situation with getting into Joe Smith's
> calendar?
>
> I would be very grateful for anyone who can point me in the right
> direction!
>
> JC
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SharePoint Calendar vs Exchange User's Shared Calendar vs ExchangePublic Folder of Calendar Items Jeff Microsoft Outlook Calendar 1 3rd Mar 2008 07:03 PM
Adding an appointment to a user's calendar without sending an emai =?Utf-8?B?Sm9hbm5l?= Microsoft Outlook Calendar 1 9th Aug 2007 04:25 AM
Adding appointment to another user's Exchange calendar etarc Microsoft Access 1 3rd May 2006 11:18 PM
Calendar appointment problems in Outlook Exchange server. =?Utf-8?B?QlcgSG91c3Rvbg==?= Microsoft Outlook Discussion 3 21st Jan 2005 07:54 PM
Adding Appointment to a user's calendar =?Utf-8?B?RGF2aWQgTGluZHNleQ==?= Microsoft Outlook VBA Programming 5 6th Aug 2004 08:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:17 AM.