Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a 2 column ListBox 1st dates 2nd text. ListBox is
populated from an array, itself populated from a 2 column range of cells in the WorkSheet. The 1st worksheet (dates) column is formatted in the English (GB) format "31/02/04" However the ListBox shows the dates in the American longer format "2/31/2004" (without the leading zero for the month) How do I format the ListBox to reproduce the dates as they were in the original source data. Any suggestions would be greatly appreciated. Don Bowyer |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Don
Use the Format function ie: Format(YourItem,"DD/MM/YY") HTH Regards Pascal "don bowyer" a écrit dans le message de news: ... I have a 2 column ListBox 1st dates 2nd text. ListBox is populated from an array, itself populated from a 2 column range of cells in the WorkSheet. The 1st worksheet (dates) column is formatted in the English (GB) format "31/02/04" However the ListBox shows the dates in the American longer format "2/31/2004" (without the leading zero for the month) How do I format the ListBox to reproduce the dates as they were in the original source data. Any suggestions would be greatly appreciated. Don Bowyer |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the input. I tried it but it made no
difference. The ListBox format still comes up with the wrong (US) format. Regards Don -----Original Message----- Hello Don Use the Format function ie: Format(YourItem,"DD/MM/YY") HTH Regards Pascal "don bowyer" a écrit dans le message de news: ... I have a 2 column ListBox 1st dates 2nd text. ListBox is populated from an array, itself populated from a 2 column range of cells in the WorkSheet. The 1st worksheet (dates) column is formatted in the English (GB) format "31/02/04" However the ListBox shows the dates in the American longer format "2/31/2004" (without the leading zero for the month) How do I format the ListBox to reproduce the dates as they were in the original source data. Any suggestions would be greatly appreciated. Don Bowyer . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format List | Excel Discussion (Misc queries) | |||
Data Validation - List - keeping the format of the list - shading | Excel Discussion (Misc queries) | |||
How to format two repeating XML elements w/o getting list of list | Excel Discussion (Misc queries) | |||
format control of a list box | Excel Worksheet Functions | |||
List Box format | Excel Programming |