D
dunnerca
I'm working in Excel 2003. I've created a form containing a 4 column list
box. The data for the list box comes from an inventory sheet. Columns 2 and
3 of the inventory sheet are times (starting and ending). On the sheet I've
formatted these columns in a custom format to show, for example, 4:00 PM and
6:00 PM as the start and end times. However, when I populate the list box
using the following command, the times show as, for example, ".66667", and
not the format I've used in the worksheet.
Me.lst_showdata.List = Sheets("inventory").Range("inv_data").Value
Is there an easy way to format the columns when I'm populating the list box?
Thanks.
box. The data for the list box comes from an inventory sheet. Columns 2 and
3 of the inventory sheet are times (starting and ending). On the sheet I've
formatted these columns in a custom format to show, for example, 4:00 PM and
6:00 PM as the start and end times. However, when I populate the list box
using the following command, the times show as, for example, ".66667", and
not the format I've used in the worksheet.
Me.lst_showdata.List = Sheets("inventory").Range("inv_data").Value
Is there an easy way to format the columns when I'm populating the list box?
Thanks.