• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

How do I find emails listed in the TASK section?

I have emails that are listed in the TASK section in folders that are actually subfolders other main folders. How do I find what folder (the main folder) the message resides in? Right now, it tells me the folder the message resides in, but I have to search through a bunch of main folders to find that email in it's sub folder.

See the image
Clipboard01.gif
0
Takamine334
Asked:
Takamine334
  • 4
  • 4
1 Solution
 
David LeeCommented:
Hi, Takamine334.

Sorry, I don't understand.  Can you explain?
0
 
Takamine334Author Commented:
That first Task is in the folder "Mount Wachusett Community College", but actually that folder is in a folder called "Mid-Atlantic" and that folder is in a folder called "NACA".

My NACA folder has 7 folders in it:
1. Mid Atlantic
2. South
3. Central
4. Northern Plains
5. Mid America
6. West
7. Northeast

In those 7 folders I have about 50+ folders that correspond to college, such as "Mount Wachusett Community College".

The Task shows the folder "Mount Wachusett Community College", but I'm curious if there is a way to show it as "Mid America / Mount Wachusett Community College", so that I can find the correspondence quicker.

0
 
David LeeCommented:
Got it.  You want to see the whole folder path.  I see two possible ways to do this.

1.  Create a user-define property and populate it with the path.  The code will have to be connected to every task folder or you'll have to manually run it periodically.

2.  Create a macro that displays the path via a button click.  When the button is clicked display a dialog-box with the path.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Takamine334Author Commented:
#2 would most likely be the way to go.
0
 
David LeeCommented:
Ok, here's the code for that.
Sub DisplayFolderPath()
    Dim olkItem As Object, olkParent As Folder
    Set olkItem = Application.ActiveExplorer.Selection(1)
    Set olkParent = olkItem.Parent
    MsgBox "This item is in the folder" & vbCrLf & vbCrLf & olkParent.FolderPath, vbInformation + vbOKOnly, "Folder Path"
    Set olkParent = Nothing
    Set olkItem = Nothing
End Sub

Open in new window

0
 
Takamine334Author Commented:
Perfect. Thank you.
0
 
Takamine334Author Commented:
Thank you!
0
 
David LeeCommented:
You're welcome.  Any time.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now