VBA Command from Excel to forward emails in Inbox(outlook)

Dpac kr

New Member
Joined
Aug 8, 2016
Messages
5
Assume below is a excel worksheet with consolidated emails from MS outlook(by export data function as .CSV) ,
I need help to develop VBA code to trigger action to forward email from ms outlook Inbox folder where below Subject = C2, then should get forward to assign=D2,similarly C3 then should get forward to D3


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]From[/TD]
[TD]To[/TD]
[TD]Subject[/TD]
[TD]Assign[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]John[/TD]
[TD]Jose[/TD]
[TD]Sales2301[/TD]
[TD]12345@gmail.com[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Sam[/TD]
[TD]George[/TD]
[TD]Purchase2301[/TD]
[TD]12456@gmail.com[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Kumar[/TD]
[TD]Arun[/TD]
[TD]Expense[/TD]
[TD]45786@gmail.com[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 772"]
<tbody>[TR]
[TD]pls help.Thanks[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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
Back
Top