Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-24-2015, 04:38 AM
Officer_Bierschnitt Officer_Bierschnitt is offline Sorting the Outlook inbox before searching for an email Windows 7 64bit Sorting the Outlook inbox before searching for an email Office 2013
Advanced Beginner
Sorting the Outlook inbox before searching for an email
 
Join Date: Oct 2015
Posts: 87
Officer_Bierschnitt is on a distinguished road
Default Sorting the Outlook inbox before searching for an email

Hi,

I have a macro searching the Outlook inbox for a specific mail, then downloading an attachment from this email and processing it to get a specific figure and just paste it into another XL file.
That's working fine so far.

The issue is, the code always parses the inbox from bottom to top, that is, from the oldest item to the newest (we have it sorted so that the newest items are on top by default). That way, it will take a while since those guys never delete anything from that inbox and so there is a large number of emails there.

Is there any way to either change the sorting_order of the inbox beforehand or change the order in which the loop runs (it is a FOR NEXT loop)?


I've tried that >Sort< method, but that doesn't seem to work yet.

Thanks a lot!

Best a regards,

Officer_Bierschnitt
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting the Outlook inbox before searching for an email Urgent help needed: Sorting/searching fields cvrm Excel 2 04-17-2014 05:47 AM
direct incoming email to "outlook" folder inbox John Ames Outlook 8 06-25-2011 02:51 PM
Sorting the Outlook inbox before searching for an email User cannot move email messages within Outlook Inbox folder and sub-folders. Darsss Outlook 5 06-06-2011 11:37 PM
How Do I Keep Outlook 2010 From Going Back To The Inbox After I Delete A Email highbids Outlook 0 08-13-2010 08:51 AM
Outlook Inbox - Email Items Productivty Counter Nobby Norris Outlook 0 03-13-2010 01:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft