View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Amit Shanker[_2_] Amit Shanker[_2_] is offline
external usenet poster
 
Posts: 11
Default Listindex strange problem

Hi,

FYI, Office 2003 on WinXP Pro, populating a userform listbox via AddItem
method.

In the listbox, even when I can plainly see that *no* item is selected, I
get a value of 0 (zero) which indicates that the first item *is* selected :
?fmchtlist.chtlistbox.listindex (this code in the immediate window, executed
when the userform is loaded, and the listbox is populated via code BUT no
item is yet selected)

Any ideas thankfully received !

Amit