Hi,
Found this macro in the web but not working, do not find any email for those dates, and there are emails for those dates.
Thank you,![]()
Sub SearchBetweenDates() strStart = InputBox("Enter Start date", "Enter date in yyyy/mm/dd format") strEnd = InputBox("Enter End date", "Enter date in yyyy/mm/dd format") strCategory = InputBox("Enter Category", "Enter category name") txtSearch = " received:>" & strStart & " <" & strEnd & "category:=" & Chr(34) & strCategory & Chr(34) End Sub
Bookmarks