Copy Hyperlink to other cell

PRIMA

Well-known Member
Joined
Oct 12, 2008
Messages
554
Dear All, how can I copy and paste only the hyperlink of one cell to the other cell with the same worksheet or workbook? I am using Excel 2010. Thanks
 
this is what I have in A1 (=HYPERLINK("C:\Users\a.puy\Desktop\Barwa City Project\EOT Claims\EOT Claims JBK\BCP1-GCF-LET-JBK-12-0009 (BMS & BTU Installation Completion of Sections 1-4) -08Apr12-.pdf", "BCP1-GCF-LET-JBK-12-0009 (BMS & BTU Installation Completion of Sections 1-4) -08Apr12-.pdf"))
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I see, sorry, I am not very well verse in this. This is actually coming from ASAP Utilities. If possible do you have any idea on how do the same. Thank you again.
 
Upvote 0
let say, I have in column B1 Text to Display = "BCP1-GCF-LET-JBK-12-0009" what I want if I click the column B1 it will show up the pdf file. my hyperlink is on column A1, so I have to click column A1. my main objectives here is to show only the Text to Display = "BCP1-GCF-LET-JBK-12-0009", instead of this "BCP1-GCF-LET-JBK-12-0009 (BMS & BTU Installation Completion of Sections 1-4) -08Apr12-.pdf" the text to display is too long. whatever is the best to insert whether actual or formula hyperlink it is fine for me Sir. thanks and sorry for that.
 
Last edited:
Upvote 0
Why don't you just change your existing formula in A1?

=HYPERLINK("C:\Users\a.puy\Desktop\Barwa City Project\EOT Claims\EOT Claims JBK\BCP1-GCF-LET-JBK-12-0009 (BMS & BTU Installation Completion of Sections 1-4) -08Apr12-.pdf", "BCP1-GCF-LET-JBK-12-0009")

The HYPERLINK function's second argument is the text to display.
 
Upvote 0
you are exactly right Sir, but I have to do it manually. Can you tell me the easiest way? Thank you again...
 
Upvote 0


BCP1-GCF-LET-JBK-12-0009

<tbody>
</tbody>


BCP1-GCF-LET-JBK-12-0016-QPM

<tbody>
</tbody>


BCP1-GCF-LET-JBK-12-0021

<tbody>
</tbody>


BCP1-GCF-LET-JBK-12-0025-QPM

<tbody>
</tbody>


BCP1-JAM-RLET-JBK-12-0014-QPM

<tbody>
</tbody>


BCP1-PCF-LET-JBK-12-0002

<tbody>
</tbody>


BCP1-PCF-LET-JBK-12-0008

<tbody>
</tbody>


BCP1-PCF-RLET-JBK-12-0005

<tbody>
</tbody>


BCP1-PCF-RLET-JBK-12-0006

<tbody>
</tbody>


BCP1-PCF-RLET-JBK-12-0011

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Try:

Code:
Sub Test()
    Dim Rng As Range
    Dim Cell As Range
    With ActiveSheet
        Set Rng = .Range("A1:A" & .Range("A" & .Rows.Count).End(xlUp).Row)
            For Each Cell In Rng
                With Cell
                    If Left(.Formula, Len("=HYPERLINK")) = "=HYPERLINK" Then
                        .Formula = Left(.Formula, InStr(.Formula, ",")) & """" & .Offset(0, 1).Value & """)"
                    End If
                End With
            Next Cell
    End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,216,098
Messages
6,128,812
Members
449,468
Latest member
AGreen17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top