Results 1 to 5 of 5

Thread: set folders

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    set folders

    Could you help me?
    How to do compare two public folders .pst files and export into excel?
    Any guidance would be appreciated.
    Thanks

  2. #2
    Junior Member
    Join Date
    May 2010
    Posts
    19

    Re: set folders

    Ok so u want to compare two folders with files. It have to give output as diffrence of files from two folders. Am I right?

  3. #3
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: set folders

    aren't .pst files containing outlook folders?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: set folders

    westcoonn
    yes it is.
    vitoo
    yes compare two folders and output as difference of files from two folders

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: set folders

    Set oRecip = olNs.CreateRecipient("Mailbox - Support, Mailbox")
    oRecip.Resolve
    If oRecip.Resolved Then
    Set oFolder = oNS.GetSharedDefaultFolder(oRecip, olFolderInbox)
    olFoderinbox shows 6
    but i need to go in support mailbox folder called support
    i need to go that folder it shows 8
    but if i write
    Set oFolder = oNS.GetSharedDefaultFolder(oRecip, olFolderSupport)
    it shows empty.

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