If you want to exclude items from the export you specify them like this:
![]()
. . . For Each fld In nms.Folders(1).Folders IF fld.Name = "Deleted Items" OR fld.Name = "Sent Items" OR fld.Name = "Whatever" Then goto 1: end if . . . .
If you want to exclude items from the export you specify them like this:
![]()
. . . For Each fld In nms.Folders(1).Folders IF fld.Name = "Deleted Items" OR fld.Name = "Sent Items" OR fld.Name = "Whatever" Then goto 1: end if . . . .
Well this is interesting... It is not looking for subfolders under the main Inbox folder. So its picking up all the emails from Inbox and sent emails, deleted emails etc.. but not subfolders under Inbox.
And yea I tried excluding the Inbox folder and deleted all the emails from sent and deleted folder except for subfolders. And Im getting an error as "No email items found"
What do u reckon the problem is??
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks