Hi,

I have a text file with data similar to this:

[List1]
Item1
Item2
Item3

[List2]
Item1

[List3]
Item 1
Item 2
Item 3
Item 4
Item 5

Etc...

I have a command button and a number of Labels on my form form, Lbl1, Lbl2,etc.

I want to click button and input box to come up, then if you type list1 all items under list 1 in txt file go to labels, but stops at last item in list.

If there is only a few items in a list, i dont want all labels to be used, only as required.

Any info on this?

Thanks

Mark.