Accessing personal folder from word vba

  • Thread starter Thread starter Keith A
  • Start date Start date
K

Keith A

I am trying to access a user created folder containing
contact info from a word form. I have been able to access
the Contacts folder (getdefaultfolder(10))and retrieve
contact info from the sub folder. but i haven't been able
to "find" the subfolder listed... how do you access user
defined folders?
 
If the subfolder is a subfolder of the default Contacts folder
(objContacts):
Set myFolder = objContacts.Folders("MySubfolder")
 
in folder views the hierarchy is like this

Personal Folders
contacts
calandar
journal
etc
IPM_TREE
Adjusters

it's the adjusters folder i'm trying to reach.. i can reach
it if i use the myfolder.pickfolder method.. and it
returns the name "adjuster" but i haven't been able to get
to it with out the .pickfolder
 
ok Don't know if my last post went through

the folder i'm trying to get to is not one of the default
folders it's a user created folder the folder view is like this

Personal Folder
Calendar
Journal
Contacts
etc.
IPM_SUBTREE
Adjusters

it's the adjusters folder i'm trying to reach

thanks
 
IPM_SUBTREE is not part of the normal Outlook folders hierarchy and
it's not accessible to the Outlook object model. You can access it
using CDO 1.21 code or Extended MAPI.
 
Back
Top