Results 1 to 20 of 25

Thread: Delete older emails with same subject line

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    VBAX Expert brettdj's Avatar
    Joined
    May 2004
    Location
    Melbourne
    Posts
    649
    Location
    Malcolm,

    Did it always move the older message? I'm not sure if the code needs a sort routine or not. Please note this change

    Dim olItem As MailItem 
    should be
    Dim olItem As Object
    as the inbox may contain meeting requests, voicemail etc

    Cheers

    Dave
    Last edited by Aussiebear; 04-04-2023 at 01:06 AM. Reason: Adjusted the code tags

Posting Permissions

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