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.
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.
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
Hi,
Try this
Please Login or Register to view this content.
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....
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.
If you don't want the next free row even if data was entered on sheet2 remove the "Worksheet_FollowHyperlink" sub.
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks