Hi,

I am trying to repopulate a userform with TextBoxes and ListBoxes from my serach results which are displayed in a listview.

I can get the values into the TextBoxes with the following code

Private Sub ListView1_DblClick()

  Dim Ctrl As Variant
  Dim i As Integer

    Load UserForm44
    
      Ctrl = Array("TextBox1", "TextBox2", "TextBox3", "TextBox4", "TextBox5", "TextBox6", "TextBox7", "TextBox8", "TextBox9", "TextBox10", "TextBox11", "TextBox12", "TextBox13")
                 
      With ListView1.SelectedItem
        For i = 1 To 13 ' .ListSubItems.Count
          UserForm44.Controls(Ctrl(i - 1)) = .ListSubItems(i).Text
       Next i
    End With
       
   Unload Me
    
   UserForm44.Show
    
End Sub
When I change "TextBox13" to "ListBox1" I get a

Run Time Error '380' Could not set the value property

I know it is something very silly but I am looking for help in how to change the code to allow me to populate both textboxes and listboxes from my selection in the Listview.

Any help would be very much appreciated.