title: using vba to select a list box item
body: <p>My issue is being able to select the row in a list box using vba.
  My program loops through a table and finds the value for the listbox ie an integer/row number and sets it in a variable likewise for the listbox name.</p>
  
  <p>So listbox name = variable LstName<br>
  ListBox value = strvalue as integer.</p>
  
  <p>I want to then select that row in the listbox so it is highlighted 
  I just cannot get it to work. If I use actual names and nemeric value it works perfectly but combining <code>me.LstName.selected(strValue) = True</code> creates an error</p>