![]() |
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 |
#8
|
|||
|
|||
![]()
Since Items.Sort never worked for me, I used Items.Getlast to get the newest
item since it goes from oldest to newest for whatever reason. I got my code to work for what I intended it to do so my co-worker and I are happy =D. Thanks for all your help! "Eric Legault [MVP - Outlook]" wrote: Sorry, use this: Items.Sort "[ReceivedTime]", True It's ItemAdd - my mistake. The ThisOutlookSession module is a "built-in" module. Here's a great article that shows how to use module event variables when trapping new mail (it'll work for 2003): How to create a custom rule using Visual Basic for Applications (VBA) in Outlook 2002: http://support.microsoft.com/default...en-us%3b292063 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
senderemailaddress | marco | Outlook and VBA | 1 | June 7th 07 01:20 PM |
SenderEmailAddress in VB.NET on Outlook 2003 | [email protected] | Add-ins for Outlook | 1 | April 10th 07 04:27 PM |
How to change read only SenderName and SenderEmailAddress | [email protected] | Outlook - General Queries | 3 | April 19th 06 08:22 PM |