Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / April 2004

Tip: Looking for answers? Try searching our database.

Getting the right value to navigate to the desired folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lywong - 12 Apr 2004 02:00 GMT
Hi,

Set objNameSpace = Application.GetNamneSpace("MAPI")
Set objContactFolder = objNameSpace.GetDefaultFolder(10)

This statement navigates to the contact folder in outlook.
But if I have a personal folder in my local drive, how do I know whic
value to use if I want to get the items in that folder??

Pls advice. Thank
Sue Mosher [MVP-Outlook] - 12 Apr 2004 12:23 GMT
To get a non-default folder, you need to walk the folder hierarchy using the
Folders collections or use a function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi,
>
[quoted text clipped - 8 lines]
>
> ------------------------------------------------
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.