Hello,
I would like to be able to hyperlink a cell to a specific document but it isn't working for me, here's what I had in mind
I have already created an existing user form. It comes up with a range of textboxes that are linked to specific cells but what I would like to achieve is when the insert button is pushed it hyperlinks one of the cells (Cells(15,11))(Textbox name (AssessmentDescription) to a chosen document. It would be great if the user form could have a button that would open file explorer for you to pick a file (for this I was using Application.GetOpenFilename) and then copy the path of the chosen document so that it can be hyperlinked to it. I had created another textbox for it to insert the file path into to try to make it easier so that it could say:
Is this possible?
I would like to be able to hyperlink a cell to a specific document but it isn't working for me, here's what I had in mind
I have already created an existing user form. It comes up with a range of textboxes that are linked to specific cells but what I would like to achieve is when the insert button is pushed it hyperlinks one of the cells (Cells(15,11))(Textbox name (AssessmentDescription) to a chosen document. It would be great if the user form could have a button that would open file explorer for you to pick a file (for this I was using Application.GetOpenFilename) and then copy the path of the chosen document so that it can be hyperlinked to it. I had created another textbox for it to insert the file path into to try to make it easier so that it could say:
VBA Code:
ActiveSheet.Hyperlinks.Add Anchor:=cells(15,11), Address:= LinkBox.Value
TextToDisplay:=AssessmentDescription.Value
Is this possible?