![]() |
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
|
|||
|
|||
![]()
Hi I am new to programming macros for Outlook however I am familiar with
VB. I am trying to write a Macro that searches the inbox for a specific email address and moves it to a folder. Something that does this: For each “email address = “move to folder “temp” Thank you in advance. *** Sent via Developersdex http://www.developersdex.com *** |
#2
|
|||
|
|||
![]()
Am Mon, 28 Aug 2006 07:09:39 -0700 schrieb mike Solas:
The folder has an Items collection you can loop through with For Each. Dim obj as Object For each obj in Items ... Next An MailItem object can have different mail addresses, please see the object browser (F2) for details (ReplyRecipients, Sender, Recipients). And it has a Move method, which you can pass to the target folder object. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- Hi I am new to programming macros for Outlook however I am familiar with VB. I am trying to write a Macro that searches the inbox for a specific email address and moves it to a folder. Something that does this: For each “email address = “move to folder “temp” Thank you in advance. *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Worksheet Moves Left when Opening | Fred Block | Outlook and VBA | 2 | August 14th 06 07:58 PM |
Can't open calendars after mailbox moves. | X-Jack | Outlook - Calandaring | 1 | April 14th 06 06:26 PM |
Why does calendar moves some appointments one hour ahead | dtss | Outlook - Calandaring | 2 | April 11th 06 09:36 PM |
Time Zone and Calendar - Moves appointments | TJAC | Outlook - Calandaring | 3 | March 23rd 06 01:35 AM |
Any way to notify the Owner(s) of the Shared Calendar when Moves/Adds/Changes/Deletes are made? | David M. Kurtz | Outlook - Calandaring | 1 | February 22nd 06 10:06 PM |