neodjandre
Well-known Member
- Joined
- Nov 29, 2006
- Messages
- 950
- Office Version
- 2019
- Platform
- Windows
Hello,
I have a userform textbox where a date needs to be entered in the format:
dd/mm/yyyy
I would like the phrase "dd/mm/yyyy" to appear in light grey colour when the textbox is empty and when the user clicks on the textbox and writes a date, the font colour should change to black.
Also, if there is a way to validate if the date is entered in the correct format it would be much appreciated.
thanking you in advance
Andy
I have a userform textbox where a date needs to be entered in the format:
dd/mm/yyyy
I would like the phrase "dd/mm/yyyy" to appear in light grey colour when the textbox is empty and when the user clicks on the textbox and writes a date, the font colour should change to black.
Also, if there is a way to validate if the date is entered in the correct format it would be much appreciated.
thanking you in advance
Andy