![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I'm trying to "walk the folders" to get to the Opportunities folder in BCM. I get a type mismatch which leaves me to believe that they can't be retrieved using MAPI?
Dim objOutlook As Outlook.Application Dim objNS As Outlook.Namespace Dim objFolder As MAPI.Folder Set objOutlook = CreateObject("Outlook.Application") Set objNS = objOutlook.GetNamespace("MAPI") Set objFolder = objNS.Folders.Item("Business Contact Manager"). _ Folders.Item("Opportunities") Will this not work? If I look at the Locals window they show as MAPI folders so I'm confused. -- Guy Forefront Business Solutions www.forefrontbusinesssolutions.com www.forefrontbusiness.com |
#2
|
|||
|
|||
![]()
I figured it out.....
Should have been Dim objFolder As Outlook.MAPIFolder Sometimes I just don't pay attention..... ![]() -- Guy Forefront Business Solutions www.forefrontbusinesssolutions.com www.forefrontbusiness.com "Guy" wrote in message news ![]() I'm trying to "walk the folders" to get to the Opportunities folder in BCM. I get a type mismatch which leaves me to believe that they can't be retrieved using MAPI? Dim objOutlook As Outlook.Application Dim objNS As Outlook.Namespace Dim objFolder As MAPI.Folder Set objOutlook = CreateObject("Outlook.Application") Set objNS = objOutlook.GetNamespace("MAPI") Set objFolder = objNS.Folders.Item("Business Contact Manager"). _ Folders.Item("Opportunities") Will this not work? If I look at the Locals window they show as MAPI folders so I'm confused. -- Guy Forefront Business Solutions www.forefrontbusinesssolutions.com www.forefrontbusiness.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 and Business Contact Manager | ronbo | Outlook - Installation | 0 | May 1st 06 05:46 PM |
Outlook with Business Contact Manager | G. W. B | Outlook - Installation | 1 | March 31st 06 08:17 PM |
Opening Categories in Outlook Business Contact Manager | sel3 | Outlook - General Queries | 0 | March 22nd 06 10:34 PM |
business contact manager for outlook could not complete your last. | Mike | Outlook - Using Contacts | 0 | February 2nd 06 04:28 PM |
Outlook Business Contact Manager | Vickie | Outlook - Installation | 0 | January 18th 06 02:28 PM |