Recent content by Rodemberry

  1. R

    VB Referring to a custom contacts folder

    This worked Set MyFolder = myNS.GetDefaultFolder(10).Parent.Folders ("Clients") Using VBS, not VBA so I had to use GetDefaultFolder(10)
  2. R

    VB Referring to a custom contacts folder

    The folder is in my mailbox. It is at the same hierarchy as 'Contacts", it is not a child so this does not work: Set myFolder = myNS.GetDefaultFolder(olFolderContacts).Folders("Clients")
  3. R

    VB Referring to a custom contacts folder

    Exchange Server 2010, OL 2010. Been using this VB code for months to access a custom contacts folder called "clients". Suddenly yesterday it stopped working. Set MySession = GetObject(, "Outlook.application") Set myNS = MySession.GetNamespace("MAPI") Set MyFolder =...
Back
Top