View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Fred Jacobowitz Fred Jacobowitz is offline
external usenet poster
 
Posts: 6
Default Select an item in a listbox using code

Tom,
Works like a charm - thanks a lot!
"Tom Ogilvy" wrote in message
...

Sheet1.Listbox1.Listindex = 3

--
Regards,
Tom Ogilvy


"Fred Jacobowitz" wrote in message
...
Is it possible to select an item in a listbox using vba. I would like to
simulate the user clicking a row in a listbox? The listbox is not on a
'form' but rather on the spreadsheet. Does it matter?

Thank you,
Fred Jacobowitz