It should be pretty simple. If the shared mailbox name is "SharedTeam" then
something like this should work:
Dim oRecip As Outlook.Recipient
Dim oFolder As Outlook.MAPIFolder
Dim oNS As Outlook.NameSpace
Dim oSubFolder As Outlook.MAPIFolder
Set oNS = Application.GetNamespace("MAPI")
Set oRecip = oNS.CreateRecipient("SharedTeam")
oRecip.Resolve
If oRecip.Resolved Then
Set oFolder = oNS.GetSharedDefaultFolder(oRecip, olFolderInbox)
Set oSubFolder = oFolder.Folders("Foobar Contacts")
If Not (oSubFolder Is Nothing) Then
MsgBox "Item 1 = " & oSubFolder.Items.Item(1).Subject
Else
MsgBox "Could not get folder"
End If
End If

Signature
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
> Hi Ken,
>
[quoted text clipped - 13 lines]
> Cheers,
> GLT
GLT - 11 Mar 2008 10:57 GMT
Hi Ken,
Thanks for your help - works perfectly.
Cheers,
GLT
> It should be pretty simple. If the shared mailbox name is "SharedTeam" then
> something like this should work:
[quoted text clipped - 35 lines]
> > Cheers,
> > GLT