Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Date format in Excel
hi all,
date in the excel have some problems when i wtire 14/01/2007 it chenges sutomatically to "01/14/07. i did change it from the Formatcell and from Control pannel regioanl sitting, but the problem still exists. thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Date format in Excel
Hi Abid
you could try using cdate i.e. Private Sub CommandButton1_Click() mydate=textbox1.value ' add 01/03/2007 to the textbox then press the button [A1].Value = CDate(mydate) End Sub for more information on cdate search excel help or this newsgroup... the mighty tom ogilvy has a wealth of posts explaining this hope it helps S |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2007 format cells to date format | Excel Discussion (Misc queries) | |||
Excel Format Problem - Date Overrides Format | Excel Discussion (Misc queries) | |||
Format an Excel Column in the window's short date format. | Excel Programming | |||
How can I convert a date format to an ISO week format (in EXCEL)? | Excel Discussion (Misc queries) | |||
Excel 2000 date format cannot be set to Australian date format | Excel Discussion (Misc queries) |