Results 1 to 1 of 1

Dropdown menu hyperlink

Threaded View

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    Monterrey, Mexico
    MS-Off Ver
    Excel 2003
    Posts
    1

    Dropdown menu hyperlink

    Hello there, how are you?
    this macro helps you creating an index in automatically, on the first tab and it depends on the number of tabs that your workbook has, also if you insert a new one, the index changes by itself.
    so I need you help with another macro that put the index on a dropdown menu list with hyperlinks or/and a button that says “go” then if you click on it, you will be sent to the destination tab. (see below the macro)


    is it difficult to build? or you can give a clue… I was google it but I am still failing.
    thank you!


    Private Sub Worksheet_Activate()
     '
     'MACROS BY EXCELZOOM.COM
     '
     Dim wSheet As Worksheet
    
    Dim l As Long
    
    l = 1
    
    With Me
    
    .Columns(1).ClearContents
    
    .Cells(1, 1) = "INDEX"
    
    .Cells(1, 1).Name = "Index"
    
    End With
    
    For Each wSheet In Worksheets
    
    If wSheet.Name <> Me.Name Then
    
    l = l + 1
    
    With wSheet
    
    .Range("A1").Name = "Start_" & wSheet.Index
     .Hyperlinks.Add Anchor:=.Range("A1"), Address:="", _
     SubAddress:="Index", TextToDisplay:="Back to Index"
    
    End With
    
    Me.Hyperlinks.Add Anchor:=Me.Cells(l, 1), Address:="", _
     SubAddress:="Start_" & wSheet.Index, TextToDisplay:=wSheet.Name
    
    End If
    
    Next wSheet
    
    
    
     
    
    End Sub
    Last edited by arlu1201; 03-25-2014 at 03:37 PM. Reason: Use code tags in future.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-27-2013, 07:04 AM
  2. [SOLVED] Excel 2007 : new drop down menu based on dropdown menu in previous cell
    By martinpols in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 02:33 AM
  3. Replies: 20
    Last Post: 03-19-2011, 09:13 AM
  4. Create Dropdown menu without using the Validation on the Data Menu
    By lostinformulas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-13-2006, 03:47 PM
  5. dropdown menu or Jump menu
    By the dude in forum Excel General
    Replies: 1
    Last Post: 03-26-2006, 02:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1