nwentling5
New Member
- Joined
- Jul 26, 2011
- Messages
- 16
Hey All,
What I am trying to do is transfer data from a Test worksheet to a Master worksheet. When I transfer the data is there a way to also transfer a hyperlink from the Test worksheet to the "Master" worksheet that would transfer the user back to the "Test" worksheet?
Currently on the Test worksheet I have a button that adds a "Link" next to the part column with the following code:
This works fine when I click "Link" on the Test worksheet, but when it is transfered over to the Master worksheet the link no longer works.
A couple of notes:
Below is a link to a test workbook so you can have an easier understanding of what I am trying to do:
http://dl.dropbox.com/u/8986524/Test1.xlsm
Could anyone point me to a way of doing this or some type of code that could globally work between worksheets? If I am not clear enough please let me know!
Thank you!
What I am trying to do is transfer data from a Test worksheet to a Master worksheet. When I transfer the data is there a way to also transfer a hyperlink from the Test worksheet to the "Master" worksheet that would transfer the user back to the "Test" worksheet?
Currently on the Test worksheet I have a button that adds a "Link" next to the part column with the following code:
Code:
Public Sub cmdLinks_Click()
Range("B7").Select
ActiveCell.FormulaR1C1 = "Link"
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"Test!A7", TextToDisplay:=" *Coded* Link Back to Test Worksheet"
End Sub
This works fine when I click "Link" on the Test worksheet, but when it is transfered over to the Master worksheet the link no longer works.
A couple of notes:
- I currently have the Update button on the Master list working to where it transfers all of the data from the worksheets.
- I will have the code looped to where each row has a link corresponding to its origin.
- I am using Excel 2007
Below is a link to a test workbook so you can have an easier understanding of what I am trying to do:
http://dl.dropbox.com/u/8986524/Test1.xlsm
Could anyone point me to a way of doing this or some type of code that could globally work between worksheets? If I am not clear enough please let me know!
Thank you!
Last edited: