View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Didier Lizard Didier Lizard is offline
external usenet poster
 
Posts: 1
Default help whit hyperlink

Hi !

In the range a1:a100 I have a list of song's title.
In range b1:b100 I have the file's name.

The question is how in VBA I can give this file name added to the dir name
as an hyperlink of the song title ?
So if I clik on that song it goes on playing.

I've tried something like that

dirname="c:\mySongs\"
for i=1 to 100
worksheets(sheet1).range("a1:a100").hyperlinks(i). Subaddress=dirname &
worksheets(sheet1).cell("b" & i)
next i

but it does not work

Thanks tou you

Didier


--

Retirer noPub
Take off noPub