A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Using SenderEmailAddress



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old June 18th 07, 10:00 PM posted to microsoft.public.outlook.program_vba
BrianL
external usenet poster
 
Posts: 13
Default Using SenderEmailAddress

Okay, I have run into a problem. I have decided to use the SenderEmailAddress
from the newest email. The only problem is that no matter how I sort the
items in the inbox, it always grabs the SenderEmailAddress from oldest email
in my inbox.

I tried this code with both false and true and got the same result:

Set myFolder2 = myNameSpace.GetDefaultFolder(olFolderInbox)
myFolder2.Items.Sort "[ReceivedTime]", False

I'm sure that it is pointing to the right folder but I have no idea why it
wont sort it. Maybe I forgot a step?
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.