Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listbox doubleclick

Status
Not open for further replies.

alexanderd

Technical User
Aug 31, 2003
20
GB
i have a list box with 4 colums of which the first colum sets up the stage for a macro to run. in order to get the macro to run i have to click on a command button.
can any one suggest a method whereby i double click within the list box to run the macro
 
There is a DblClick event you can process (Look in the right-hand combo box in the code window for a list of events that can be trapped.)
 
either i have missunderstood your reply, or!!

i am using a listbox in excel2002 sheet2 holds all the data for the listbox
 
Select the Listbox.
Right click
Select View Code
When code window opens, there is a dropdown at upper right. It should show "Click" - the default event. Select "DblClick" from dropdown choices.


Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top