email from Excel

Joined
Nov 29, 2016
Messages
4
hello forum,

I want a help regarding the vba coding in regard with email sending to different employees to their mails,with their respective salary slip.

I have prepared a salary sheet in the sheet one & have generated a salary slip in sheet two by taking employee code as base.

that is just by typing employee code in the specified column it will generate the salary slip of that particular employee.

In sheet 1 from a4 to a28 i have the employee code,b1 to b28 i have their name, c1 to c28 is their email......,k1 to k28 is their net salary.

In sheet 2 from i have the format of salary slip from d2 to i29. i have used the formula vlookup=d4+respective table in the sheet 1 to generate the salary slip. d4 is the cell of employee code.
so now i want your help regarding:
1. is it required to prepare a seperate sheet in which the email id and employee code should be their to link it.
2. i need the vba coding for this purpose.

please do the needful as early as possible.

regards,
srivathsan
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Watch MrExcel Video

Forum statistics

Threads
1,129,587
Messages
5,637,268
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