Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My personal gremlin seems to be that,for no apparent reason (although I am
sure there must be one) when moving dates around in VBA they change from UK format to US format. A date I pick up from, say, a text box as 12/01/2010 (being 12th Jan) will arrive in the prescribed cell as 01/12/2010. I seem to have tried everything including assigning the date to a variable using the datevar = format([Date from text box], "dd/mm/yyyy") in an attempt to force it to behave. Nothing seems to work consistently. I am using Excel 07 and my machine locale setting is UK. I am sure that I must be missing a trick but I'm not sure what. Any ideas, anyone? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Different date formats | Excel Discussion (Misc queries) | |||
Different Date formats in text to be recognised as date value | Excel Programming | |||
Cell Date and Listbox Date formats | Excel Programming | |||
Dealing with date formats on expiration date | Excel Programming | |||
Problems with number formats when using Find/Replace | Excel Discussion (Misc queries) |