Importing email from outlook

  • Thread starter Thread starter AussieM8
  • Start date Start date
AussieM8

Open Outlook and choose View - Folder List. This will give you the tree
view of your outlook folders. The top level of folders can be called from
the NameSpace object. The key to getting to the right folder is knowing the
path. An example of a path in my outlook is

olNS.Folders("Personal Folders").Folders("Inbox").Folders("Blog")

However, if you have a different set up than me (like if you're using
Exchange) then your folder path may be considerably different. Looking at
the folder list should make the path seem clear.

If that doesn't get you where you need to be, you can email me a screen shot
of your folder list and an example of the code that doesn't work.
 
Thanks for the reply Dick.

I tried using that folder path, but it must not be the correct one.
The code I am using is the same as in the thread quoted:

http://excelforum.com/showthread.ph...threadid=242708

I'll shoot you an email with the screen shot and see if that shed's an
light on it. I'm using Excel/Outlook 2000 running on W2K at my work.
It is a large network, so perhaps the folder path is where my proble
lies.

Cheers,
AussieM
 
AussieM8

I saw the screen shot and it looks to me like you're doing it right. I sent
you a mail to try this

Debug.Print oNameSpace.GetDefaultFolder(olFolderInbox).Parent.Name

I'll be interested to see what that returns.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top