Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello Joseph, Add a module to your project and copy the following macro code into it. Put the hyperlinks into the Drop Down's List Range and assign the macro to the Drop Down. When you select a item in the Drop Down, the hyperlink will be activated. Sub GoToHyperlink() Dim DropDownName Dim LinkName On Error GoTo NoLink DropDownName = Application.Caller With ActiveSheet.Shapes(DropDownName).ControlFormat LinkName = .List(.ListIndex) End With ActiveSheet.Hyperlinks(LinkName).Follow Exit Sub NoLink: MsgBox "Hyperlink " & LinkName & " not found.", vbExclamation End Sub Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=506101 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Drop list affected by previous choice | Excel Worksheet Functions | |||
drop down list multiple columns | Excel Discussion (Misc queries) | |||
Drop Down List | Excel Worksheet Functions | |||
create a drop down list with the source from a different workbook | Excel Discussion (Misc queries) | |||
Drop List Referencing | Excel Worksheet Functions |