Macro & Userform query to send the wishes through email and text message

witsonjoyet

Board Regular
Joined
Sep 13, 2013
Messages
100
Dear All,

Good Day.. In my office i have to send the birtyday and festival wishes to my clients & collegues through email and text messages. Till now i do this work manually which is hectic for me. Kindly suggest me to solve this problem through macro and user form .

this is my link : https://www.dropbox.com/s/8wddzhj3go4zmmi/EMP DETAILS.xlsm

In Data sheet i have a columns like

EMPLOYEE CODEEMPLOYEE NAMEMOBILE NUMBERE-MAIL ID (To)E-MAIL ID (CC)DEPARTMENTBirthdays
MDMrA+911234567890A@gmail.comA@yahoomail.comAdmin01/01/1988
ABC001MrB+911234567890B@gmail.comB@yahoomail.comAdmin02/02/1975
ABC002MrsC+911234567890C@gmail.comC@yahoomail.comBack Office03/03/1989
ABC003MrD+911234567890D@gmail.comD@yahoomail.comKYC16/05/1989
ABC004MrE+911234567890E@gmail.comE@yahoomail.comTrading22/05/1993
ABC005MrF+911234567890F@gmail.comF@yahoomail.comTrading01/01/1977
ABC006MrG+911234567890G@gmail.comG@yahoomail.comTrading28/06/1981
ABC007MissH+911234567890H@gmail.comH@yahoomail.comKYC20/02/1994
ABC008MrI+911234567890I@gmail.comI@yahoomail.comExecutive30/06/1978
ABC009MrJ+911234567890J@gmail.comJ@yahoomail.comAccounts16/03/1986
ABC010MissK+911234567890K@gmail.comK@yahoomail.comTrading06/06/1987
ABC011MissL+911234567890L@gmail.comL@yahoomail.comRC&S26/08/1988
ABC012MrM+911234567890M@gmail.comM@yahoomail.comBusiness Development16/11/1989
ABC013MrN+911234567890N@gmail.comN@yahoomail.comMD06/02/1991
ABC014MissO+911234567890O@gmail.comO@yahoomail.comBusiness Development28/04/1992
ABC015MissP+911234567890P@gmail.comP@yahoomail.comAccounts19/07/1993
ABC016MrQ+911234567890Q@gmail.comQ@yahoomail.comAccounts09/10/1994
ABC017MrR+911234567890R@gmail.comR@yahoomail.comTrading30/12/1995
ABC018MissS+911234567890S@gmail.comS@yahoomail.comAccounts21/03/1997
ABC019MissT+911234567890T@gmail.comT@yahoomail.comBack Office11/06/1998
ABC020MrU+911234567890U@gmail.comU@yahoomail.comReception01/09/1999

<tbody>
</tbody>

<tbody>
</tbody>

I want to do as

1) If any one's birtyday is today then automatically its to be popped up and userform will be displayed as "Do you want to send 1) Email or 2) Text message or 3) Both Email & Text. If i click any one of these and click ok then automatically email or message have to be sent to the respective person

here also i want one option to attach the file ( generally JPG / PDF / xls files ) like which attachment you want to send.
if i select that file it will automatically attached to the mail id and have to be sent.

2) For festival season i have to send mail to every one ( is there any option to select individually or Select A) then the mail has to be sent to those persons.

and my data will be increased depends on clients


Thanks in advance

Regards

Witson Joyet
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,433
Messages
6,124,861
Members
449,195
Latest member
MoonDancer

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