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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hyperlink to a file on a list box

Status
Not open for further replies.

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
 
Can you give-me an exemple of whow to do.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top