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

filtering appointment attendees and resources??



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 29th 06, 06:43 PM posted to microsoft.public.outlook.program_vba
callmedoug
external usenet poster
 
Posts: 13
Default filtering appointment attendees and resources??

Hi,

here is the problem. I have a list of 40 or so meeting rooms, that I
want to be able to choose from when I set up a meeting in outlook.
These meeting rooms show up in the outlook address book, similar to
staff members, and are currently added as a "resources" from the
address book into the meeting.

Is there a way to provide a filtered list of those rooms based on the
time and date currently selected in the meeting schedul?.

I would think I could write a function that would take the time and
date, and scan the appropriate items in the address book (the rooms),
and provide a list of those that are currently available. and then
further add the room if I were to d-click on it from the list.

Can someone point me in the right direction to do something like this?

  #2  
Old November 30th 06, 06:11 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default filtering appointment attendees and resources??



You can build such a list on a UserForm. Please see the Recipient.FreeBusy
function in the VBA help file.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am 29 Nov 2006 10:43:28 -0800 schrieb callmedoug:

Hi,

here is the problem. I have a list of 40 or so meeting rooms, that I
want to be able to choose from when I set up a meeting in outlook.
These meeting rooms show up in the outlook address book, similar to
staff members, and are currently added as a "resources" from the
address book into the meeting.

Is there a way to provide a filtered list of those rooms based on the
time and date currently selected in the meeting schedul?.

I would think I could write a function that would take the time and
date, and scan the appropriate items in the address book (the rooms),
and provide a list of those that are currently available. and then
further add the room if I were to d-click on it from the list.

Can someone point me in the right direction to do something like this?

  #3  
Old November 30th 06, 04:57 PM posted to microsoft.public.outlook.program_vba
callmedoug
external usenet poster
 
Posts: 13
Default filtering appointment attendees and resources??

Hi Micheal,

So let me know if this would be the correct course of action.

1 Create a user button that would open a user form

2 have the form get the freebusy information for only those recipients
that the name begins with MTGRM

3 display a listbox of the recipients that are free

4 when d-click on one of the recipients in the listbox, add it as a
resource, and close the form.

if that is correct, would the following code work for filtering the
addressbook down to only meeting rooms?

'list entries in outlook addressbook that start with mtgrm
Dim myAddressList As AddressList
Dim AddressEntry As AddressEntry
Set myAddressList = Application.Session.AddressLists("Global Address
List")
For Each AddressEntry In myAddressList.AddressEntries
if left(AddressEntry.Name,5) = "MTGRM" then
MsgBox AddressEntry.Name
end if
' add code here to check for freebusy

' add code here is is free add to listbox

Next


Thanks

Michael Bauer [MVP - Outlook] wrote:
You can build such a list on a UserForm. Please see the Recipient.FreeBusy
function in the VBA help file.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am 29 Nov 2006 10:43:28 -0800 schrieb callmedoug:

Hi,

here is the problem. I have a list of 40 or so meeting rooms, that I
want to be able to choose from when I set up a meeting in outlook.
These meeting rooms show up in the outlook address book, similar to
staff members, and are currently added as a "resources" from the
address book into the meeting.

Is there a way to provide a filtered list of those rooms based on the
time and date currently selected in the meeting schedul?.

I would think I could write a function that would take the time and
date, and scan the appropriate items in the address book (the rooms),
and provide a list of those that are currently available. and then
further add the room if I were to d-click on it from the list.

Can someone point me in the right direction to do something like this?


  #4  
Old November 30th 06, 05:00 PM posted to microsoft.public.outlook.program_vba
callmedoug
external usenet poster
 
Posts: 13
Default filtering appointment attendees and resources??

OMG
sorry for multiple replies I am not sure what i did to make that happen.

  #5  
Old November 30th 06, 04:56 PM posted to microsoft.public.outlook.program_vba
callmedoug
external usenet poster
 
Posts: 13
Default filtering appointment attendees and resources??

Hi Micheal,

So let me know if this would be the correct course of action.

1 Create a user button that would open a user form

2 have the form get the freebusy information for only those recipients
that the name begins with MTGRM

3 display a listbox of the recipients that are free

4 when d-click on one of the recipients in the listbox, add it as a
resource, and close the form.

if that is correct, would the following code work for filtering the
addressbook down to only meeting rooms?

'list entries in outlook addressbook that start with mtgrm
Dim myAddressList As AddressList
Dim AddressEntry As AddressEntry
Set myAddressList = Application.Session.AddressLists("Global Address
List")
For Each AddressEntry In myAddressList.AddressEntries
if left(AddressEntry.Name,5) = "MTGRM" then
MsgBox AddressEntry.Name
end if
' add code here to check for freebusy

' add code here is is free add to listbox

Next


Thanks

Michael Bauer [MVP - Outlook] wrote:
You can build such a list on a UserForm. Please see the Recipient.FreeBusy
function in the VBA help file.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am 29 Nov 2006 10:43:28 -0800 schrieb callmedoug:

Hi,

here is the problem. I have a list of 40 or so meeting rooms, that I
want to be able to choose from when I set up a meeting in outlook.
These meeting rooms show up in the outlook address book, similar to
staff members, and are currently added as a "resources" from the
address book into the meeting.

Is there a way to provide a filtered list of those rooms based on the
time and date currently selected in the meeting schedul?.

I would think I could write a function that would take the time and
date, and scan the appropriate items in the address book (the rooms),
and provide a list of those that are currently available. and then
further add the room if I were to d-click on it from the list.

Can someone point me in the right direction to do something like this?


  #6  
Old November 30th 06, 04:58 PM posted to microsoft.public.outlook.program_vba
callmedoug
external usenet poster
 
Posts: 13
Default filtering appointment attendees and resources??

Hi Micheal,

So let me know if this would be the correct course of action.

1 Create a user button that would open a user form

2 have the form get the freebusy information for only those recipients
that the name begins with MTGRM

3 display a listbox of the recipients that are free

4 when d-click on one of the recipients in the listbox, add it as a
resource, and close the form.

if that is correct, would the following code work for filtering the
addressbook down to only meeting rooms?

'list entries in outlook addressbook that start with mtgrm
Dim myAddressList As AddressList
Dim AddressEntry As AddressEntry
Set myAddressList = Application.Session.AddressLists("Global Address
List")
For Each AddressEntry In myAddressList.AddressEntries
if left(AddressEntry.Name,5) = "MTGRM" then
MsgBox AddressEntry.Name
end if
' add code here to check for freebusy

' add code here is is free add to listbox

Next


Thanks

Michael Bauer [MVP - Outlook] wrote:
You can build such a list on a UserForm. Please see the Recipient.FreeBusy
function in the VBA help file.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am 29 Nov 2006 10:43:28 -0800 schrieb callmedoug:

Hi,

here is the problem. I have a list of 40 or so meeting rooms, that I
want to be able to choose from when I set up a meeting in outlook.
These meeting rooms show up in the outlook address book, similar to
staff members, and are currently added as a "resources" from the
address book into the meeting.

Is there a way to provide a filtered list of those rooms based on the
time and date currently selected in the meeting schedul?.

I would think I could write a function that would take the time and
date, and scan the appropriate items in the address book (the rooms),
and provide a list of those that are currently available. and then
further add the room if I were to d-click on it from the list.

Can someone point me in the right direction to do something like this?


 




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
Limiting Appointment Recurrence for resources [email protected] Outlook - General Queries 1 November 17th 06 09:15 PM
Attendees cannot view booked resources BruceArena Outlook - Calandaring 0 July 10th 06 03:08 PM
How to invite NEW attendees to an appointment? MTT Outlook - Calandaring 0 June 20th 06 08:45 PM
How do i open the "Select Attendees and Resources" window Tyro Outlook - General Queries 1 April 6th 06 08:57 PM
How do I prevent booking Resources in Outlook as Attendees? Tamara S Outlook - Calandaring 0 March 30th 06 04:36 PM


All times are GMT +1. The time now is 10:32 AM.


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.