Solved

Read folder outside personal folder

Posted on 2014-10-20
4
124 Views
Last Modified: 2014-10-20
I can easily read through the folders in my Personal folder, but do not know how to read through the folders in the mail account circled in red below. Can it be done?

gmail.png
0
Comment
Question by:rrhandle8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40392878
click on the white arrow in front of the account name to expand it
0
 

Author Comment

by:rrhandle8
ID: 40392902
Read through it using a VBA script.
0
 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 40392931
Ah well your question neither mentions VBA nor is it in any category that refers to VBA, So i answered what was asked.

What you want to do is something along the lines of...

Dim objNS As Outlook.NameSpace
Dim objFolder As Outlook.MAPIFolder
Set objNS = GetNamespace("MAPI")
Set objFolder = objNS.Folders("Robin.Handler@gmail.com")
Set objFolder = objFolder.Folders("Inbox")

Example code expanded from.... http://stackoverflow.com/questions/9076634/get-reference-to-additional-inbox
0
 

Author Comment

by:rrhandle8
ID: 40392994
Neilsr,
You got it.  I was missing the last line.
Thanks!
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question