I'm try to sort emails to Outlook public folders using the code below. The last level of folders within "14700-14799" will be 100 folders with names such as 14700 Company A, 14701 Company B..... The project number is known the company name is not, therefore the path is incomplete until the project # and company name are known. The routine below looks at the .Folders object one index at a time by comparing the left chars against the user's project input. Due to the massive number of Public Folder this is very slow. If I input 14798 (ie near the end) it could take a minute or more. Is there a way to ready the entire myDestFolder.Folders() into an array that can be examined much faster?

Please Login or Register  to view this content.