Hi guys,

I urgently need to create a function in Excel and I think I need to use VBA, but to be honest, I don't have a clue.

I need to make sure that when someone inputs their date of birth, they are over 18. If they are not over 18, a pop-up should appear to say: "The bartender must be 18 years of age."

I'm also struggling because I need to create the formula that uses today's (or tomorrow, the next day etc.) date as the date to work out the date of birth.

Any help would be massively appreciated.

Thanks,
Ryan