Results 1 to 20 of 22

Thread: Outlook - count number of emails in Sent Items folder and spit out results in Excel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    VBAX Regular
    Joined
    Sep 2019
    Posts
    23
    Location
    Graham, so i used your coding below to grab yesterdays date and i added a "-1" below but it didn't work?

    If CDate(Format(olItem.SentOn, "dd/mm/yyyy")) = CDate(Format(Date-1, "dd/mm/yyyy")) Then 'test for today's messages
    Last edited by Aussiebear; 02-17-2025 at 11:08 PM.

Posting Permissions

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