Sure you can! Look at this code again...I changed it a bit:
nItemType = 10
oOutlook =CREATEOBJECT("Outlook.Application")
oNameSpace =oOutlook.GetNameSpace("MAPI")
oContacts =oNameSpace.GetDefaultFolder(nItemType)
oExplorer =oContacts.GetExplorer
oExplorer.Display
Just change the item type and a new explorer comes up. Now, if you change what you want to look at, you have to start with GetNameSpace again. Why, I don't know but you do.
>That's exactly my interpretation of what it means. In 98, I'm able to find the "ActiveExplorer" (if Outlook is already open), but that's it. I can't reference any other Explorer other than the active one. Putting them in a collection for 2000 allows references to any and all of them. (That's my read on it anyway :] )
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05