listbox to textbox

kirikv
09-08-2003, 08:02 PM
A listbox is populated from a text file that is delimited with semicolons. After that, if an item is highlighted, that information needs to populate several textboxes on the same form.
I am having problems with separating that data to populate text boxes.
Does anyone have any ideas?
You help will be much appreciated. Thanks.

DroopyPawn
09-08-2003, 08:54 PM
WhatToPutInTextbox = Replace(TextFromListbox,";",vbCrLf)
I think that will break your listbox items into a multiline list of items. Of course, it assumes that the selected items are consecutive and wouldn't work on (for example) items 3,5 & 10 in a list.
gs

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum