filter by name and then email the sheet to the same name

INN

Board Regular
Joined
Feb 3, 2021
Messages
118
Office Version
  1. 365
Platform
  1. Windows
Hi
I have a table like below. I want to filter by Agent Name (agent1, agent2, agent3) and then after filtering by name, I want to send the result by email to that person. For example, I want to filter column 3 by agent1, then I sent the result to agent1@abc.com, and I do the same thing for agent2 (agent2@abc.com) and agent3. So these agents wont see each other info. I can create a slicer to filter by agent but then how to email. I was thinking about inserting button and then email (vba) but I have not idea how to do that. Would appreciate any help. Thank you.

Customer NameStoreAgent Name
MaryStoreAAgent1
AlexStoreBAgent2
AdamStoreAAgent1
SaraStoreCAgent2
AnnaStoreDAgent3
DanyStoreAAgent1
SamStoreAAgent2
AnnaStoreBAgent1
AnnaStoreAAgent2
LynnStoreCAgent3
LizStoreDAgent1
JackStoreAAgent2
MikeStoreAAgent1
LindaStoreBAgent2
SandyStoreAAgent3
EvaStoreCAgent1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

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