brendalpzm
Board Regular
- Joined
- Oct 3, 2022
- Messages
- 59
- Office Version
- 365
- 2021
- 2019
- 2016
- Platform
- Windows
I have these activeX controls fields:
EmpNoBox = Employee Number (TextBox)
AgeBox = Final result with age (TextBox)
**These 2 are located in the "Registro" worksheet
In a different worksheet called "Base_Externos" I have a data base with the employees information, employee number is located in the A column and their birthdays on the C column, full range of data base is A:D.
I want the user to type their employee number and the AgeBox to be filled with their age by looking up their birthdates and comparing it with today date, this for the cases that the user clicks on their birthday so it should shouw up the age up to the present date. All this triggered by an activeX control button called SearchButton.
EmpNoBox = Employee Number (TextBox)
AgeBox = Final result with age (TextBox)
**These 2 are located in the "Registro" worksheet
In a different worksheet called "Base_Externos" I have a data base with the employees information, employee number is located in the A column and their birthdays on the C column, full range of data base is A:D.
I want the user to type their employee number and the AgeBox to be filled with their age by looking up their birthdates and comparing it with today date, this for the cases that the user clicks on their birthday so it should shouw up the age up to the present date. All this triggered by an activeX control button called SearchButton.