View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
HK[_4_] HK[_4_] is offline
external usenet poster
 
Posts: 6
Default Listbox doubleclick launch

"HK" wrote in message
...
I modified the following piece of code (the original combobox code I found
he http://www.contextures.com) to launch a listbox when the user double
clicks a cell which is associated with a datavalidation list. The problem
is that when one first double clicks a cell, selects the values in the
listbox and then moves down several rows and double clicks another cell,
the program always jumps back to the rows where one previously opened the
listbox (i.e. double clicked a cell). The listbox which was opened last is
then not visible at all for the user. Is there any way I could prevent
excel from doing this?


The problem was in fact in the code. If one removes this bit
cboTemp.Activate, it works ok.

HK