Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How Format a List Box

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How Format a List Box

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How Format a List Box

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format List Scott@CW Excel Discussion (Misc queries) 2 February 16th 07 05:04 PM
Data Validation - List - keeping the format of the list - shading aasbury Excel Discussion (Misc queries) 1 June 5th 06 04:25 PM
How to format two repeating XML elements w/o getting list of list jimmyray32 Excel Discussion (Misc queries) 0 November 10th 05 03:17 PM
format control of a list box mupshur Excel Worksheet Functions 0 February 8th 05 08:59 PM
List Box format Gordon C Excel Programming 1 December 8th 03 12:11 AM


All times are GMT +1. The time now is 11:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"