|
-
Feb 7th, 2011, 01:38 PM
#2
Re: Problem accessing a nested collection
check the value of lFolderIndex... is it 37 when the error happens? If so, that's the problem... there may be 37 folders, but the colleciton goes from 0 to count-1... or 0 to 36...
See if this change works for you:
lFolderIndex = FSfolder.subfolders.count -1
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|