+ Reply to Thread
Results 1 to 7 of 7

create hyperlink to another sheet when specific selection is made on a dropdown

  1. #1
    Registered User
    Join Date
    09-22-2013
    Location
    Aurora, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    30

    create hyperlink to another sheet when specific selection is made on a dropdown

    I need to develop a macro that will create a hyperlink (on Sheet 1 column P) to sheet 2's next blank record in column A when a dropdown selection in Column K (on sheet 1) has the first word: "Cable". I would really appreciate help on this.

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    Hi,

    check this: Cable.xlsm
    Note: When a hyperlink is created the subaddress will be the next blank row on sheet2, then if you enter some data on sheet2 the hyperlink will be wrong but whenever you click a hyperlink it will recalc the new free row on sheet2

    contains:
    Please Login or Register  to view this content.
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    Hi,
    Try this
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-22-2013
    Location
    Aurora, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    Thank you this works well for me. I wondered though, if rows are inserted on Sh2 after the hyperlink was created is there any way that the hyperlink can automatically adjust to match the change? Or is this waaaaaayy too sophisticated....

  5. #5
    Registered User
    Join Date
    09-22-2013
    Location
    Aurora, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    thank you tehneXus - Your code works well too thanks, but I needed the hyperlink to be recorded on Sh1 so someone could go back to it later and click on it and it would go to the proper data on SH2. Your code put the hyperlink as "next free row" . I appreciate the effort though, and I probably wasn't clear enough on my requirements.

  6. #6
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    If you don't want the next free row even if data was entered on sheet2 remove the "Worksheet_FollowHyperlink" sub.

  7. #7
    Registered User
    Join Date
    09-22-2013
    Location
    Aurora, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: create hyperlink to another sheet when specific selection is made on a dropdown

    Thank you this has really helped, can you please provide additional help on how to integrate this next issue into your code? How can I also have the selection of "Cable" in column k to also trigger a copy of Cells A, B and J from Sh1 to Sh2 into the same row the hyperlink has referenced?

+ 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. [SOLVED] How to make a dropdown list cell default to blank, after another cell selection is made
    By chardsmith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2013, 03:46 AM
  2. Replies: 1
    Last Post: 03-27-2013, 07:04 AM
  3. [SOLVED] Autofill data once a selection is made from a dropdown box.
    By ggummo in forum Excel General
    Replies: 3
    Last Post: 03-13-2013, 11:55 AM
  4. [SOLVED] Want to populate a group of cells when a particular selection is made from a dropdown list
    By ChezHenri in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2012, 01:08 PM
  5. Replies: 2
    Last Post: 09-21-2011, 09:21 AM

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