+ Reply to Thread
Results 1 to 2 of 2

Code for finding most recent email with " " subject when multiple exist

  1. #1
    Registered User
    Join Date
    12-29-2009
    Location
    Wilkes-Barre, PA
    MS-Off Ver
    Excel 2003
    Posts
    26

    Code for finding most recent email with " " subject when multiple exist

    Below is the code i am using to find an email with the subject "raw sales log" in my inbox and copy and paste it into another worksheet. It works fine, but when i have more than one email with the same subject, it gives me an error. I am looking to add some code that will look for the subject i have specified, but only find the most recent one, and ignore the others



    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Code for finding most recent email with " " subject when multiple exist

    When something gives an error it is helpful to state what the error is and on what line it occurs.


    click on the * Add Reputation if this was useful or entertaining.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mileage Calculator -- Finding Recent Row with a "X" in colum A - Excel
    By xtreme4u in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-21-2014, 01:18 AM
  2. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  3. Need VBA Code to "redirect" not "forward" an email
    By derrikhu in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2013, 10:59 PM
  4. Replies: 2
    Last Post: 08-09-2012, 03:13 PM
  5. How to change "From" & to have a dynamic "Subject" line in Excel Mailing
    By andy_iyeng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-25-2012, 03:04 AM
  6. [SOLVED] textbox value to be used as a "subject" line within an email
    By excelwatcher in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2006, 12:35 AM
  7. If "text" exist within "cell" then TRUE
    By JemyM in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-16-2005, 07:41 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1