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

Signature
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --
Am 29 Nov 2006 10:43:28 -0800 schrieb callmedoug:
> Hi,
>
[quoted text clipped - 13 lines]
>
> Can someone point me in the right direction to do something like this?
callmedoug - 30 Nov 2006 16:56 GMT
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
> You can build such a list on a UserForm. Please see the Recipient.FreeBusy
> function in the VBA help file.
[quoted text clipped - 23 lines]
> >
> > Can someone point me in the right direction to do something like this?
callmedoug - 30 Nov 2006 16:57 GMT
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
> You can build such a list on a UserForm. Please see the Recipient.FreeBusy
> function in the VBA help file.
[quoted text clipped - 23 lines]
> >
> > Can someone point me in the right direction to do something like this?
callmedoug - 30 Nov 2006 17:00 GMT
OMG
sorry for multiple replies I am not sure what i did to make that happen.
callmedoug - 30 Nov 2006 16:58 GMT
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
> You can build such a list on a UserForm. Please see the Recipient.FreeBusy
> function in the VBA help file.
[quoted text clipped - 23 lines]
> >
> > Can someone point me in the right direction to do something like this?