Sweedler
Board Regular
- Joined
- Nov 13, 2020
- Messages
- 124
- Office Version
- 2016
- Platform
- Windows
- MacOS
Hello
I have a Userform that I am using to enter data into cells in a row. One of those cells is to include a date. I want the date to be formatted "YY-MM-DD" (January 5, 2020 = 20-01-05). When I have the value from the userform entered into the cell it does not act as the date that it visually has.
For example. I have entered: 21-06-06 (in cell A2) (Todays date = 23-06-19 (in cell H1)) ... =A2>P1 returns the value TRUE. Which it should clearly not.
I need help getting the formatting right, and perhaps putting in a check to make sure that there is a date entered as well.
I have a Userform that I am using to enter data into cells in a row. One of those cells is to include a date. I want the date to be formatted "YY-MM-DD" (January 5, 2020 = 20-01-05). When I have the value from the userform entered into the cell it does not act as the date that it visually has.
For example. I have entered: 21-06-06 (in cell A2) (Todays date = 23-06-19 (in cell H1)) ... =A2>P1 returns the value TRUE. Which it should clearly not.
I need help getting the formatting right, and perhaps putting in a check to make sure that there is a date entered as well.