VBA / Outlook

Nilsjohanekman

New Member
Joined
Nov 19, 2016
Messages
8
Dear Community,


I need help with the following and would really appreciate any and all of your help.


Currently I have 2 rules set up in my outlook inbox where whenever I send and email it 1)Automatically CC's me and 2) flags this email. Meaning that when I send an email it appears in my inbox as a flagged item for follow up.


What I'm trying to accomplish is a VBA macro that with either run continuously (preferably; don't know if this will create issues) or off of a command button that will:


1) Review my inbox and to determine if I have received a response to a flagged item.
2) If so, permanently delete the original email


Any code, help or guidance would go a long way. Thank you!


Regards,
NilsJohanEkman
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

HackSlash

Active Member
Joined
Nov 18, 2016
Messages
360
Wow, sounds like you're writing an Outlook plugin. This calls for a better programming language! I have good news for you! Much of what you learned here with VBA will help you in the world of VB.NET

Visual Studio 2015 Community edition is free:
https://www.microsoft.com/en-us/download/details.aspx?id=48146

Try this question in a VB.NET forum and you will get a much better response. You might even find there are Outlook libraries for VB.NET that have done all the hard work for you!

https://www.add-in-express.com/support/addin-vb-net.php


I'm sure you could do this in Excel with VBA but just don't. Thank me later.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,591
Messages
5,637,288
Members
416,963
Latest member
samfuge

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top