|
-
Nov 24th, 2000, 07:02 AM
#1
Thread Starter
Member
Hello,
Is there a way to move(not copy) a specific mail from one custom folder to another customfolder?
Does someone know? Any input would be great!
Life is trip, eat it and smile.
-
Nov 24th, 2000, 08:59 AM
#2
Thread Starter
Member
Gurus?
Now, where are the proffesionals here? Can anybody help me out?
Life is trip, eat it and smile.
-
Nov 24th, 2000, 09:41 AM
#3
Lively Member
This code will move all of the mail items from the Inbox to the Personal Mail box where the Sender Name is 'Bob'
Code:
Set myInbox = myOlApp.GetDefaultFolder(olFolderInbox)
Set myItems = myInbox.Items
Set myDestFolder = myInbox.Folders("Personal Mail")
Set myItem = myItems.Find("[SenderName] = 'Bob'")
While TypeName(myItem) <> "Nothing"
myItem.Move myDestFolder
Set myItem = myItems.FindNext
Wend
-
Nov 24th, 2000, 01:49 PM
#4
Thread Starter
Member
There are still Gurus out there :-)
Life is trip, eat it and smile.
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
|