+ Reply to Thread
Results 1 to 2 of 2

Outlook - set subfolder in a shared mailbox

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    181

    Outlook - set subfolder in a shared mailbox

    Hi All,

    I would like to save attachment from mailitems to a folder. I am able to do it with my own, personal mailbox, butI cannot figure out how to work in a different mailbox, which is a shared one.

    I try to list the accounts like this:
    Please Login or Register  to view this content.
    but it shows my own account only.
    Could anybody help how to reference to an other mailbox?

    Thank you

  2. #2
    Forum Guru
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,859

    Re: Outlook - set subfolder in a shared mailbox

    Hi Harry,

    There are several ways to approach your problem. I prefer to access a folder using the complete Path. Outlook folder paths are of the following form:
    \\Outlook Data File\Deleted Items
    \\ Outlook Data File\InBox\Lew\Important Mail
    \\x@y.com\InBox\Lew\Important Mail\

    Once you know the Path, all you need is the Outlook Application Object 'OutApp' to get the 'Folder Object'.
    Please Login or Register  to view this content.
    If you need additional help, please upload a sample file.

    Lewis

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to take count of emails in each folder and subfolder from outlook mailbox
    By saurabhlotankar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-07-2017, 01:33 AM
  2. Save mails sent from shared mailbox in that shared mailbox's Sent folder
    By LordClick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2016, 03:30 PM
  3. Outlook 2010 VBA Code to open a link from an unread mail in a Shared Mailbox
    By MHamid in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 10-31-2015, 03:46 PM
  4. Email rule in outlook with VBA script on shared mailbox
    By CR7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2015, 09:01 AM
  5. [SOLVED] Show newl message envelop notification for all mailbox/shared mailbox added in outlook
    By Goku in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 07-04-2014, 01:23 PM
  6. Reference shared Outlook mailbox
    By arneld in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2012, 08:29 PM
  7. Moving an e-mail from a subfolder in Mailbox to the equivalent subfolder in an archive PST
    By johncassell in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2012, 11:31 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1