View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jos Vens[_2_] Jos Vens[_2_] is offline
external usenet poster
 
Posts: 134
Default Bug in multiselect listbox?

Hi,

I have a listbox with the property multiselectextended. I want by default
have one item selected. It only works when I set the property to
multiselectsingle.

Libra_FrmPrintRpt.lbKlas.ListIndex = Libra_FrmLogin.cbKlas.ListIndex
'it works

'Libra_FrmPrintRpt.lbKlas.MultiSelect = fmMultiSelectExtended
'if I decomment this (or set the property in vba-form), it doesn't work
anymore.

Is this a bug, is there a workaround to select by default an item?

Thanks
Jos Vens