Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Please, Can anyone help.
I need to have several hyperlinks in different cells B5 and B10 but it didn't work? I tried using the same call but referencing different cells.. Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) If Target.Range.Address = "$B$5" Then 'cell where the hyperlink is Application.Run "'WorkbookName.ext'!YourSubName", Arg1, Arg2 End If End Sub Private Sub Worksheet_FollowHyperlink(ByVal Target2 As Hyperlink) If Target.Range.Address = "$B$10" Then 'cell where the hyperlink is Application.Run "'WorkbookName.ext'!YourSubName", Arg1, Arg2 End If End Sub thanks -- Jeff :-) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
answered in your other post - six minutes before you posted this
"Jeff" wrote in message Please, Can anyone help. I need to have several hyperlinks in different cells B5 and B10 but it didn't work? I tried using the same call but referencing different cells.. Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink) If Target.Range.Address = "$B$5" Then 'cell where the hyperlink is Application.Run "'WorkbookName.ext'!YourSubName", Arg1, Arg2 End If End Sub Private Sub Worksheet_FollowHyperlink(ByVal Target2 As Hyperlink) If Target.Range.Address = "$B$10" Then 'cell where the hyperlink is Application.Run "'WorkbookName.ext'!YourSubName", Arg1, Arg2 End If End Sub thanks -- Jeff :-) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I replace the hyperlinks on many cells at once? | Excel Worksheet Functions | |||
Wrapping cells with hyperlinks | Excel Discussion (Misc queries) | |||
merged cells and hyperlinks | Links and Linking in Excel | |||
merged cells and hyperlinks | Excel Worksheet Functions | |||
I would like to extend hyperlinks across cells | Excel Discussion (Misc queries) |