Get outlook agenda

W

W.Meints

I am trying to find out how to get my central agenda (exchange) and my
personal agenda and synchronize the non-private meetings.

I need to know: How can I get these agenda's programmatically?
 
W

Wei-Dong XU [MSFT]

Hi,

Currently I am finding one support prefessional for you on this issue. When
any update, we will reply for you as soon as possible.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services
This posting is provided "AS IS" with no warranties, and confers no rights.
It is my pleasure to be of assistance.
 
P

Peter Huang [MSFT]

Hi

Do you mean the Tasks folder or Calendar folder?
Here I post the code about how to list the task item in both the Exchange
and the personal folder,
Sub Test2()
Dim mi As MAPIFolder
Set mi = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks)
Dim t As TaskItem
For Each t In mi.Items
Debug.Print t.Subject
Next

Set mi = Application.GetNamespace("MAPI").Folders.Item("Personal
Folders").Folders("Tasks")
For Each t In mi.Items
Debug.Print t.Subject
Next
End Sub

The syntax is similar if you want to list the calendar folder.

If you still have any concern, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top