View Single Post
  #6  
Old October 3rd 06, 08:49 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Creating macro that will sort emails into folders based on text in body

Am 2 Oct 2006 07:09:34 -0700 schrieb :

For instance, you can walk through the folders hierarchy: Via a folderīs
Parent property you get to its parent folder, via its Folders("Name")
property to one if a folderīs subfolder. You simply need to know the
folderīs path.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
--
www.VBOffice.net --


wrote:
Thanks for the help gentlemen. I'm looking at the code, and I'm looking
specifically at:

'You can replace the above Move argument with a MAPIFolder object
directly instead of choosing one
'Use NameSpace.GetDefaultFolder to easily get a reference to a
default Outlook folder

Basically I want to send the file to a folder called "blank1" that I
have created in my Inbox. I have looked and looked but I cannot
understand how to use this. Can you help explain ?
Michael


Actually, I got mr. bauer's solution to work. The only issue is I
believe I am not using the default inbox - I am using an added account
to my outlook program. How would I use this "mailbox" instead of my
personal one ?

Michael

Ads