ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Is it possible to store multiple hyperlinks in a cell for Excel (https://www.excelbanter.com/excel-programming/422221-possible-store-multiple-hyperlinks-cell-excel.html)

Kart

Is it possible to store multiple hyperlinks in a cell for Excel
 
Is it possible to store multiple hyperlinks in a cell for Excel 2003

Gary''s Student

Is it possible to store multiple hyperlinks in a cell for Excel
 
No, but it is easy to get the same effect.

Put the hyperlinks in a column somewhere.

In A1, put a Data Validation to allow you to pick one of the links.
In B1 enter:
=HYPERLINK(A1)

So you click on A1 to pick the link and then click on B1 to activate the link.

If you want to activate ALL the links, then use an Event macro.
--
Gary''s Student - gsnu200825


"Kart" wrote:

Is it possible to store multiple hyperlinks in a cell for Excel 2003


Gord Dibben

Is it possible to store multiple hyperlinks in a cell for Excel
 
Try this code from Bob Umlas.

You can't do it with a regular hyperlink, but you can do it with VBA code,
something like this -- right-click the sheet tab, select View Code, put this
in (assumes the cell inquestion is F4):

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$F$4" Then
ThisWorkbook.FollowHyperlink "http://www.whatever.com", _
NewWindow:=True
ThisWorkbook.FollowHyperlink "http://www.xyz.com", NewWindow:=True
ThisWorkbook.FollowHyperlink "http://www.abc.com", NewWindow:=True
End If
End Sub


Gord Dibben MS Excel MVP

On Fri, 9 Jan 2009 04:24:08 -0800, Kart
wrote:

Is it possible to store multiple hyperlinks in a cell for Excel 2003




All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com