+ Reply to Thread
Results 1 to 5 of 5

Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Box

  1. #1
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Smile Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Box

    Dear Sir,

    I want to edit the formula since I am not well perfect in VBA for excel.When I put this code, all the worksheet tab name appears in a single worksheet as defined by the name "Index".But the problem for me is that I want those tab name without being underlined.Also I want all those tab name in a text box by modifying this formula. If this is possible,kindly help me in this regard.The vba code is as follows :

    Private Sub Worksheet_Activate()
    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

    I will be eagerly waiting for your reply.

    With Best Rgds,
    Suresh

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Bo

    paradise2sr,

    If I understand you correctly, see if the below link will assist you:

    Sheet Selector Menu ComboBox by Tom Urtis 2003 2007

    http://<b>http://www.atlaspm.com/tom...down-list/</b>
    Last edited by stanleydgromjr; 08-13-2013 at 07:26 AM.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Smile Re: Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Bo

    Quote Originally Posted by stanleydgromjr View Post
    paradise2sr,

    If I understand you correctly, see if the below link will assist you:

    Sheet Selector Menu ComboBox by Tom Urtis 2003 2007

    http://<b>http://www.atlaspm.com/tom...down-list/</b>
    Dear Sir/Madam,

    Thanks for your reply.But the link you gave,I could not be able to get in that websites.

    With Best Rgds,

    Suresh

  4. #4
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Bo

    paradise2sr,

    In the Quick Reply box, just put the word BUMP. Then, click on the Post Quick Reply button, and someone else will assist you.

  5. #5
    Forum Contributor
    Join Date
    03-11-2011
    Location
    Nepal
    MS-Off Ver
    MS Excel 2021 / 365
    Posts
    1,248

    Re: Sheet tab name to be hyperlinked without being underlined & to be in linked in Text Bo

    Dear Sir/Madam,

    I did not understand what you mean to say.

    With Rgds,
    suresh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Losing bolded and underlined text in the process...
    By sinnes in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-26-2010, 11:19 AM
  2. Underlined and bolded text causes Excel to crash
    By ambarrovecchio in forum Excel General
    Replies: 1
    Last Post: 06-22-2007, 09:27 AM
  3. How can I find underlined text?
    By brade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2007, 03:00 PM
  4. [SOLVED] Burning hyperlinked sheet to CD
    By LisSonsalla in forum Excel General
    Replies: 0
    Last Post: 07-18-2006, 02:55 PM
  5. [SOLVED] How can I detect if the text in a cell is underlined?
    By plh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2006, 10:10 PM

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