PDA

View Full Version : Current Email Folder



kbilly
05-22-2008, 09:18 PM
I've got a situation where I have a number of emails in various subfolders within my inbox. I want the code that will tell me the name of the folder I'm currently looking in and hopefully the input text that can be entered as a description in the folders properties menu.

kbilly
05-23-2008, 11:15 PM
Well I've found the code I was looking for

Set ActiveFolder = ActiveExplorer.CurrentFolder
FolderProp = ActiveFolder.Description

Now I want to know what code will tell me the name of the larger directory which has a subdirectory that I'm currently active in.

sluice
05-27-2008, 08:33 AM
You might like to have a look at the GetParentFolder method, the ParentFolder property and the Parent property.