Click to See Complete Forum and Search --> : Listbox items


Andrew
October 28th, 1999, 12:39 PM
Is it possible to recognize an item in a listbox as something other than a string? Specifically, I have some listboxes containing dates and I need to be able to assign the value to a variable as a date and not a string. Is this possible or am I way off base?

thanks,

Andrew

Aaron Young
October 28th, 1999, 12:48 PM
You could easily apply the CDate Function on the List Item, eg.

MyDate = CDate(List1.List(iIndex))

Where iIndex is the Index No. of the List Item.


Aaron Young
Analyst Programmer
adyoung@win.bright.net
aarony@redwingsoftware.com