Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a user form text box that I want to format so on a
date (01/01/04) can be inputed. How can I set the format to only accept a date format? My spreadsheet date column is formatted for the date but my user form accepts any input and populates the spreadsheet! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dan,
This will check if it's a date: If IsDate(Me.Textbox1.Text) then ' yada yada End if Or you could use the Calendar Control from Additional Controls in the UserForm Toolbox. hth, Doug Glancy "Dan" wrote in message ... I have a user form text box that I want to format so on a date (01/01/04) can be inputed. How can I set the format to only accept a date format? My spreadsheet date column is formatted for the date but my user form accepts any input and populates the spreadsheet! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with converting CUSTOM format/TEXT format to DATE format | Excel Worksheet Functions | |||
Convert date from text format to date format | Excel Discussion (Misc queries) | |||
Convert date + time text format to date format | Excel Worksheet Functions | |||
code to convert date from TEXT format (03-02) to DATE format (200203) | Excel Programming | |||
Change a date in text format xx.xx.20xx to a recognised date format | Excel Programming |