

- #HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 HOW TO#
- #HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 FULL#
- #HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 CODE#
- #HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 WINDOWS#
alternatively you can preface each remark line with REM and it’ll do the same job.

Basically you should end up with blue & black text (the code) and green text (remarks, which are preceded by the ‘ symbol).
#HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 CODE#
If you re-type these characters one by one the code should run. I don’t know why, I imagine it’s something to do with html, but it’s usually characters like ” or, or ‘ rather than letters or numbers. Sometimes when you copy and paste code from the web certain characters get pasted in a different format. Many, many thanks, exactly what I was looking for and it works perfectly once I’d sorted out the characters, as follows īack in the day I used to do a lot of VBA programming and like most amateurs I borrowed huge amounts of code from people who were kind enough to share it on the web, and one thing I learned was this. If you liked this, please give me a nice comment on the bottom of the page. Select the folder you want the duplicates to be removed from.
#HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 HOW TO#
How to run the script? Easy - see that “Run” feature on the menu… it’s this one here: That’s it! Run the script and duplicates inside this folder will disappear. This is how it should look like on your end: If objDictionary.Exists(strKey) = True Then StrKey = objItem.Subject & "," & objItem.StartDate & "," & objItem.DueDate & "," & objItem.Body 'Check task subject, start date, due date and body

StrKey = objItem.FullName & "," & objItem.Email1Address & "," & objItem.Email2Address & "," & objItem.Email3Address

#HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 FULL#
'Check contact full name and email address StrKey = objItem.Subject & "," & objItem.Start & "," & objItem.Duration & "," & objItem.Location & "," & objItem.Body 'Check appointment subject, start time, duration, location and body StrKey = objItem.Subject & "," & objItem.Body & "," & objItem.SentOn Set objDictionary = CreateObject("scripting.dictionary") Now put this code in there: Sub RemoveDuplicateItems() Look below, it’s super easy:Ī new window should appear on the left side. This is a lifesaver!Īll you have to do now is to go to “Microsoft Outlook Objects”, press right mouse button, then go to “Insert” and then “Module”.
#HOW TO REMOVE DUPLICATE EMAILS IN OUTLOOK 2016 WINDOWS#
If a security warning pops up called “Microsoft Outlook Security Notice”, just press “Enable Macros” to continue.Ī new windows should open up called “Microsoft Visual Basic for Applications” that should look like this - don’t be scared. Don’t be scared - it’s dead easy! I’ll tell you exactly how. Now you are going to write a script - or better: You will copy & paste the script I’m providing below. Go to File at the menu and click at “Options”, then go to “Trust Center”, click “Trust Center Settings”, in there click “Macro Settings” and select “Notification for all macros” like this: With only one simple action, you can make duplicates disappear - it’s like a magic trick! Step 1: Preparations Thanks, but no thanks.īelow is the solution. Sure, why not spent $40 or more to remove duplicates - a standard feature on almost every decent mailer has.
