![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I came up with this function to return the full path to any particular
folder. I can't see any issues with it, however - please feel free to break it, if it can be. (Yeah so I didn't declare the variables in the example...) Public Function getFullFolderPath() Set nms = Outlook.Application.GetNamespace("MAPI") Set targetFolder = nms.PickFolder strPath = targetFolder While targetFolder.Parent "Outlook" strPath = targetFolder.Parent & "\" & strPath Set targetFolder = targetFolder.Parent Wend Set targetFolder = Nothing Set nms = Nothing getFullFolderPath = strPath End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Full folder path in Outlook 2003 search? | Anonymous Chief | Outlook - General Queries | 2 | August 31st 07 10:11 PM |
File location or full path | Vette Miester | Outlook Express | 1 | March 4th 07 04:50 PM |
MailItem Folder Path | Fox via OfficeKB.com | Outlook and VBA | 1 | July 7th 06 02:39 PM |
Getting an Outlook folder using a path | Paddy | Outlook and VBA | 2 | May 25th 06 09:32 PM |
Getting a folder give a path | Paddy | Outlook and VBA | 4 | May 25th 06 08:53 PM |