I’m trying to select an item from listbox1 and replace the values in textbox1 accordingly This is just a sample code for people who will try to do something similar.