Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
tryx something like with activesheet.range("A1:A100") ..numberformat="MM/DD/YYYY" ..value=.value end with -----Original Message----- My dates seem to be storing as text when being written from a user form... Is there any way to convert these programmatically??? If I manually convert text to columns and select date.. it shows correctly and will sort properly.. VBA doesn't seem to be carrying the formatting style back from the user form even though it is specified as format(..., ""MMM-DD-YY") because when it sorts.. it as though it is text not a date... How can I get it back to date format???? The user will not know how to do this so.. I need to somehow do it in a macro or in vba. The data is dynamic. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i convert dates to text but keep the date format | Excel Worksheet Functions | |||
dates from inhouse system download as text.Convert back to date? | Excel Worksheet Functions | |||
Excel - convert dates to text but appear as a date format | Excel Discussion (Misc queries) | |||
Convert SERIAL date back into dd/mm/yy format? | Excel Worksheet Functions | |||
How do I convert dates to text keeping the format? | Excel Discussion (Misc queries) |