+ Reply to Thread
Results 1 to 3 of 3

Jump to chart sheet using macros and hyperlinks

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Jump to chart sheet using macros and hyperlinks

    I have been trying to easily hyperlink to a chart sheet and have found a simple solution but would like to simplify it further for future use.

    Right now I am using:

    Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
    Sheets(Target.TextToDisplay).Select
    End Sub

    (Note: the link location doesn't matter)
    Now when I create a hyperlink using the create hyperlink function and set the Text to Display as the chart sheet name this works.
    However when I use a formula and set the [friendly_name] to the same value as I would enter into Text to Display the marco does not work.

    If anyone knows the difference between [friendly_name] & Text to Display or has an easy alternative solution I would be very appreciative.

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Jump to chart sheet using macros and hyperlinks

    Have you considered using the standard feature Insert\Hyperlink from the menu?
    My approach to providing help is to help you to help yourself. So my answers won't always solve your problem, but hopefully you can learn enough to solve the problem yourself and be more self sufficient for the experience.

  3. #3
    Registered User
    Join Date
    07-19-2013
    Location
    usa
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Jump to chart sheet using macros and hyperlinks

    I have and that works with the macro.

    However I am unable to create that insert/hyperlink by simply copying the previous cell or having it insert itself automatically.

    That's why I was trying to use the hyperlink formula but it doesn't seem to read the cell/hyperlink as TextToDisplay.

+ 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. Find Hyperlinks, Copy Hyperlinks to alternative sheet, print all hyperlinks
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 05:13 PM
  2. [SOLVED] Jump to other macros and even other modules when single stepping
    By xladept in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2012, 05:59 PM
  3. macros and hyperlinks
    By kristine grimm in forum Excel General
    Replies: 0
    Last Post: 08-31-2011, 11:49 AM
  4. macro that can jump to a sheet...
    By beatrice25 in forum Excel General
    Replies: 2
    Last Post: 05-17-2006, 07:11 PM
  5. How do I create a command button to jump from sheet to sheet in a.
    By Darlenew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-22-2005, 07:06 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