Results 1 to 2 of 2

Thread: [RESOLVED] Outlook From VB6 (Setting var to folder)

  1. #1

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Resolved [RESOLVED] Outlook From VB6 (Setting var to folder)

    I need to set a Variable to a subfolder.. cant remember how!!

    the subfolder will be 5 to 6 deep

    Personal Folders > Folder1 > SubFolder1 > SubFolder2 etc

    Set oApp = New Outlook.Application
    Set oNs = oApp.GetNamespace("MAPI")
    Set oFld = oNs.Folders("Personal Folders")

    whats next?
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  2. #2

    Thread Starter
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Outlook From VB6 (Setting var to folder)

    ok.. I got it.. I was expecting a popup on the next . but it works anyways

    Set oApp = New Outlook.Application
    Set oNs = oApp.GetNamespace("MAPI")
    Set oFld = oNs.Folders("Personal Folders")
    Set sFldr = oFld.Folders("SubFolder1").Folders("SubFolder2").Folders("SubFolder3")

    Thanks anyways!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width