![]() |
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
|
|||
|
|||
![]()
You're making it too hard. Because folder names are unique in each collection, you can get the folder directly:
TargetFolder = SourceFolder.Folders("AFMA") If you really needed the number of folders, that would be returned by the Folders.Count property. Remember, the object browser is your friend. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "MarkS" wrote in message ... Hi, I need to find a sub folder on different machine, which always has the same Name. I have got this far Set SourceFolder = mynamespace.Folders("Personal Folders") For iLoopCounter = 1 To Something If SourceFolder.Folders(iLoopCounter) = "AFMA" Then Set TargetFolder = SourceFolder.Folders(1) iLoopCounter = Something + 1 End If Next I need to know what to put in place of something to get the number of sub folders that exist Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't find a phone number that is in Phone Number Field? | Mark | Outlook - Using Contacts | 1 | November 8th 06 08:04 PM |
Integrate week number calender - hard to find now | Thure | Outlook - Calandaring | 1 | September 14th 06 11:46 AM |
How do I find out the number of contacts in a distribution list i | KathyB | Outlook - Using Contacts | 2 | May 25th 06 02:01 PM |
Find a contact by telephone number | Angus Comber | Outlook and VBA | 3 | April 7th 06 04:05 PM |
How do I find the number of email addresses in a distribution list | Shockle | Outlook - Using Contacts | 1 | January 30th 06 10:13 PM |