>Hi,
>
[quoted text clipped - 4 lines]
>Regards,
>Savinay
Savinay
If your strings always go into the ListBox in order you could
use the index of the selected item (which starts at 0 so perhaps
index +1).
Otherwise if the strings always start with 'Step' you could use
Substring:
strRequired = ListBox.Text
strNumber = strRequired.Substring(5)

Signature
Jeff Gaines - Damerham Hampshire UK