List Box Commands

  • Thread starter Thread starter George
  • Start date Start date
G

George

I have a list box and the items in it are links to documents in my C-Drive I
want to open when I double click on them - question is how do you make that
happen ?

Thanks
 
Private Sub MyListbox_DblClick(Cancel As Integer)
Application.FollowHyperlink Me!MyListbox
End Sub

(replace "MyListbox" with the name of your listbox)

Note that this assumes that Multiselect is not enabled.
 
Back
Top