Happy Birthday!

ZathroZ

New Member
Joined
Jul 28, 2008
Messages
15
Hi,

Does anyone out there have some VBA code that would automatically force a pop up message to manifest on a person's birthday?

I would like for it to:

1 - Read the birth dates from column labeled "Birth Date" (P15:P70) The names are stored on column "Name" (A15:A70)
2 - Compute his/hers age
3 - Display a message stating: "Wish Joe a happy birthday! He is 27 to day." If the birthday is Today, or "Wish Danielle a happy birthday! She turns 19 on Saturday (or Sunday) if it falls on the weekend.
4 - AND I fear this is the hardest part; Have the message give the user the opportunity to acknowledge the event, say by clicking "Yes" or reset to display again next time the work book opens by say, clicking "Later"

I know this may be child's play for most of you, but it is way over my head, so I 'd appreciate any and all help. So far all I have been able to do is get the Name to change color on the person's birthday :-s

Thanks

ZathroZ
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,563
Messages
6,125,554
Members
449,237
Latest member
Chase S

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