+ Reply to Thread
Results 1 to 1 of 1

Macro to Target Newest Email Item in Inbox, Process Target, move Target to subfolder

  1. #1
    Registered User
    Join Date
    06-22-2020
    Location
    Alaska
    MS-Off Ver
    2016
    Posts
    4

    Macro to Target Newest Email Item in Inbox, Process Target, move Target to subfolder

    I need someone to walk me through attaching to the selected mail item and the procedure to move the mail item to a subfolder.


    I'm really new to the Outlook COM and VBA for that matter...

    Previously I was able to get away with simply targeting whatever was currently selected by a user, using a mouse to click and highlight an item, and then do some processing on that item. My needs have become more complex now.

    I need to set up a listener in my main inbox folder to target the newest email item. I need to break out the subject and body text of the email. I've got the code for that solidly down pat. My issue is this with building this listener, correctly targeting the newest mail item, and then moving that item to a specified subfolder of my Inbox.

    These broken out subject and body strings will later be passed to an Excel macro for further data management/processing.

    Please Login or Register  to view this content.
    This above block is the best I've managed to cobble together using several internet sources.
    Last edited by VBANood123; 02-16-2022 at 02:52 PM.

+ 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. Replies: 3
    Last Post: 08-18-2021, 04:59 PM
  2. Formula for Determining Cost Based on Target Markup and Target Retail
    By protcg in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-17-2020, 09:54 AM
  3. [SOLVED] Macro to get target value, clear range and put back target value
    By brunces in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2017, 07:38 AM
  4. Self Ajusting cell , moving to provide target to meet end of year target
    By andycuk7 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-15-2016, 11:22 AM
  5. Replies: 5
    Last Post: 12-16-2014, 05:47 PM
  6. [SOLVED] Worksheet_Change(ByVal Target As Range) - set to only update when 3 target cells changed?
    By trillium in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2012, 06:40 PM
  7. [SOLVED] Need alternate syntax 'Select Case' on Target.Column and Target.Row at the same time.
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2012, 11:19 AM

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