Jan 26, 2007 #1 Albano Instructor Dec 11, 2000 221 0 0 PT Hi, How can I put a link to open a doc ou xls file in a list box item when is clicked. Thanks Albano
Jan 26, 2007 #2 Remou Technical User Sep 30, 2002 13,030 0 0 BE You can use FollowHyperlink. Upvote 0 Downvote
Jan 26, 2007 Thread starter #3 Albano Instructor Dec 11, 2000 221 0 0 PT Can you give-me an exemple of whow to do. Upvote 0 Downvote
Jan 26, 2007 #4 Remou Technical User Sep 30, 2002 13,030 0 0 BE It depends on what is in the list box. Let us say it is the full name of the file, including the path, and that the listbox is not multiselect. Code: Private Sub lstList_Click() FollowHyperlink Me.lstList End Sub Upvote 0 Downvote
It depends on what is in the list box. Let us say it is the full name of the file, including the path, and that the listbox is not multiselect. Code: Private Sub lstList_Click() FollowHyperlink Me.lstList End Sub
Jan 26, 2007 Thread starter #5 Albano Instructor Dec 11, 2000 221 0 0 PT Works.Thanks Upvote 0 Downvote