+ Reply to Thread
Results 1 to 2 of 2

Can hyperlinks based on Shape.TextFrame2.TextRange.Text be updated when the text changes?

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Can hyperlinks based on Shape.TextFrame2.TextRange.Text be updated when the text changes?

    I have code that gives a hyperlink to shapes (that represent a data flow process listed in another sheet in the workbook) based on the text in the shapes and shape name. But if I update the text in the shape from "ABC" to "XYZ", the hyperlink still takes me to ABC and not to the new location. Is there a way to get the hyperlinks to update automatically when you change the text in the shape and then click on the shape? My current code is below:

    Please Login or Register  to view this content.
    Moderators note: code tags added for you - this time
    Last edited by FDibbins; 04-29-2013 at 05:26 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Can hyperlinks based on Shape.TextFrame2.TextRange.Text be updated when the text chang

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code in [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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