Thread: Hyperlink Help
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
retepallen retepallen is offline
external usenet poster
 
Posts: 2
Default Hyperlink Help

Hi,

I'm trying to create a hyperlink to open another workbook and so far i have
got this code:

Sub Hyperlink()
ActiveWorkbook.FollowHyperlink
Address:="C:\myrouteaddressgoeshere\Programming\PP M\" '&
ActiveWorkbook.Cells("C2").Text & ".xls"
End Sub

When i put the direct link as one text file, then it opens fine. But i want
it to be able to open different files based on what is in Cell C2.

Any help would be appreciated.

Pete