It took me a long time to make it work ;-;
If TextBox1.Text = "" ThenExit SubEnd IfDim x As IntegerDim contador As IntegerFor x = 0 To ListBox1.ListCountIf InStr(1, TextBox2.Text, ListBox1.List(x, 0)) ThenShapes("resp").TextFrame.TextRange.Text = ListBox1.List(ListBox1.ListIndex, x)Exit ForEnd IfNext