A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get appointments of another users and their names?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 8th 07, 05:41 PM posted to microsoft.public.outlook.program_vba
poiqwery
external usenet poster
 
Posts: 1
Default How to get appointments of another users and their names?

Hi,

I made a VBA code that picks up appointments from my Outlook (2003) calendar
and writes them (date, time, subject, location, my user name) in columns of
an html table.

How could I get also appointments of my workmates and their names to the
same table? We have shared our calendars and we are in the same distribution
list. Which methods, properties and events would be the most useful to open
and read calendars of workmates and get the names of calendar owner? Would
it be easier to use distribution list or write the names into the code?

Thanks,


Ads
  #2  
Old December 8th 07, 06:28 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get appointments of another users and their names?

Use the NameSpace.GetSharedDefaultFolder() function to get the calendar
folders of those workers and then get the appointments the same way you do
with your own calendar. You won't get private appointments unless those are
shared.

I'd go with names, DL's are not real robust in my opinion.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"poiqwery" wrote in message
...
Hi,

I made a VBA code that picks up appointments from my Outlook (2003)
calendar and writes them (date, time, subject, location, my user name) in
columns of an html table.

How could I get also appointments of my workmates and their names to the
same table? We have shared our calendars and we are in the same
distribution list. Which methods, properties and events would be the most
useful to open and read calendars of workmates and get the names of
calendar owner? Would it be easier to use distribution list or write the
names into the code?

Thanks,



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2K users not able to see others appointments beyond 60d? Mbailey Outlook - Calandaring 1 November 17th 07 01:32 AM
Attendee names appear twice in appointments Leslie R Outlook - Calandaring 0 July 19th 07 04:50 PM
Names in file - Others users folders BrunoRV Outlook - Installation 1 August 10th 06 11:34 PM
How do I clear the open other users folder names dot Outlook - Calandaring 3 April 24th 06 05:15 PM
Change folder names of all users Gaspar Outlook and VBA 5 March 27th 06 11:40 PM


All times are GMT +1. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.