A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Thanks, Anna,
In this solution, I have to repeat the steps for each copied cell and is not efficient.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to copy a formula cell that generates hyperlinks from cell content using some formula. Now when I try to "copy" and "paste value" that formula to another Excel file I am not getting the hyperlink, only plain text after I do Paste special > Paste Values. I tried all the options of Paste Special but none of them paste the values as hyperlinks. However, if I first copy/paste cell values to Word and then copy from Word and paste them into Excel I get the cell values as hyperlinks.
Example:
Content of Cell A1 = Try it » (https://www.w3schools.com/js/tryit.asp?filename=tryjs_regexp_i)
Content of Formula cell B1 = HYPERLINK(MID(A1,SEARCH("(",A1)+1,SEARCH(")",A1)-SEARCH("(",A1)-1),LEFT(A1, SEARCH(" (", A1) - 1))
Is there any way to copy the formula cell value as a hyperlink directly from one Excel to another or between two Excel sheets of the same Excel file as I can replicate the same issue using one Excel file using sheet1 and sheet2?
I have asked this question onStackOverflow also but have not gotten a resolution so far.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Thanks, Anna,
In this solution, I have to repeat the steps for each copied cell and is not efficient.
record a macro for below?
Copy the cell with the hyperlink formula. Go to the destination cell and press Ctrl+Alt+V to open the Paste Special dialog box. Select the Values option and click OK. Right-click on the destination cell and select Hyperlink. In the Insert Hyperlink dialog box, select the Existing File or Web Page option. Paste the address of the hyperlink in the Address box and click OK.
In that case, you can try the following steps:
Copy the cell with the hyperlink formula. Go to the destination cell and press Ctrl+Alt+V to open the Paste Special dialog box. Select the Values option and click OK. Right-click on the destination cell and select Hyperlink. In the Insert Hyperlink dialog box, select the Existing File or Web Page option. Paste the address of the hyperlink in the Address box and click OK.
Hi Anna,
Thanks for taking the time to reply to my question, I want to copy the cell as a hyperlink only without any reference to the source cell. i.e. the same functionality that I get after copying the cell to a Word document and then copying it back to an Excel sheet.
Regards,
Hemendr
Hi Hemendr
I'm AnnaThomas and I'd happily help you with your question. In this Forum, we are Microsoft consumers just like yourself no one here is a Microsoft employee.
Unfortunately, directly copying and pasting a formula cell containing hyperlinks as hyperlinks in Excel isn't possible. Excel's "Paste Values" option only captures the cell value itself, not the hyperlink functionality. This issue exists when copying between different Excel files or even within the same file.
However, there are workarounds to achieve the desired behavior:
Paste Special - Paste Link:
This method creates a linked cell that dynamically updates whenever the source cell changes.
Copy the formula cell containing the hyperlink. Switch to the target Excel file or sheet. Right-click the desired cell and choose
I hope this helps ;-), let me know if this is contrary to what you need, I would still be helpful to answer more of your questions.
Best Regards,
AnnaThomas
Give back to the community. Help the next person with this problem by indicating whether this answer solved your problem. Click Yes or No at the bottom.