![]() |
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
|
|||
|
|||
![]()
Can anyone help. I'm new to the vba stuff..
I want to move all the e-mails from my Inbox to a folder with the same name as the sender. I want my program to check if a folder exists for that sender, if not create it, and move the message to that specific folder. Could anybody give me some hints how to do this. |
Ads |
#2
|
|||
|
|||
![]()
Or if possible, to use VBA to create a folder for every contact in my address
book.... "S1lverface" wrote: Can anyone help. I'm new to the vba stuff.. I want to move all the e-mails from my Inbox to a folder with the same name as the sender. I want my program to check if a folder exists for that sender, if not create it, and move the message to that specific folder. Could anybody give me some hints how to do this. |
#3
|
|||
|
|||
![]() Please look three days back in this ng: "Move and create folder based on subject". Instead of Subject read the SenderEMailAddress proeprty. -- Best regards Michael Bauer - MVP Outlook Synchronize Color Categories & Ensure that Every Item Gets Categorized: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 28 Nov 2007 09:07:04 -0800 schrieb S1lverface: Can anyone help. I'm new to the vba stuff.. I want to move all the e-mails from my Inbox to a folder with the same name as the sender. I want my program to check if a folder exists for that sender, if not create it, and move the message to that specific folder. Could anybody give me some hints how to do this. |
#5
|
|||
|
|||
![]() #1: Did you look at the sample I mentioned? Simply set the value for the Find variable, e.g. " #2: Sorry, off head I don't know for sure how to determine the first recipient in that case. You might look at the ConversationIndex and SentOn properties. -- Best regards Michael Bauer - MVP Outlook Synchronize Outlook Categories: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 5 Dec 2007 03:10:01 -0800 schrieb S1lverface: Thanks Michael. I'm wondering a couple of things when moving mail from my 'Inbox' to folders. If you could help, that would be great : 1- If i receive mail from several people who all work for the same company - Instead of using the [SenderName] = ' ', can I put a wild card type thing to pick up the mail from all senders whose extension is @mydomain.com or can I write [SenderName] = ' ', [SenderName] = ' ', [SenderName] = ' ' etc 2- I also use similar code to move from my 'Sent Items' to my sent subfolders, However, if the mail i sent had several recipients, these e-mails are left behind. Can I write code so as it knows to move those e-mails to the subfolder of the first recipient in the list. "Michael Bauer [MVP - Outlook]" wrote: Please look three days back in this ng: "Move and create folder based on subject". Instead of Subject read the SenderEMailAddress proeprty. -- Best regards Michael Bauer - MVP Outlook Synchronize Color Categories & Ensure that Every Item Gets Categorized: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 28 Nov 2007 09:07:04 -0800 schrieb S1lverface: Can anyone help. I'm new to the vba stuff.. I want to move all the e-mails from my Inbox to a folder with the same name as the sender. I want my program to check if a folder exists for that sender, if not create it, and move the message to that specific folder. Could anybody give me some hints how to do this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Move and create folder based on subject | Peter R. | Outlook and VBA | 3 | December 5th 07 05:46 AM |
Mail rule based on "safe senders"? | Swifty | Outlook - General Queries | 1 | May 6th 07 11:20 AM |
Create a new folder in PST/OST which behaves like special folder(e.g Inbox/RSS feeds) | [email protected] | Add-ins for Outlook | 3 | April 17th 07 02:28 PM |
script to create a folder in "INBOX" | Amin | Outlook - Using Forms | 5 | April 6th 07 01:26 PM |
I lost the names of the senders in my Inbox | shughenry | Outlook - General Queries | 1 | January 31st 06 06:11 PM |