Pasting HTML without Hyperlinks

Written by Allen Wyatt (last updated July 18, 2020)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


When Ron copies a table from his company's website and pastes it into Excel, it takes a good 20 to 30 seconds to complete the paste operation, during which Ron cannot do anything else on his PC. The table is not large; only about 7 columns by 20 rows. It contains a mix of text and numbers, plus some hyperlinks. Ron thinks it may be the hyperlinks that slow down the pasting, as this long delay doesn't happen when performing a similar operation with other websites. Ron doesn't need the hyperlinks to be pasted, and using Paste Special with a non-HTML paste type doesn't provide satisfactory results. He wonders if there is a way (perhaps with a macro) to paste from the Clipboard in HTML format, but without the hyperlinks.

It could very well be that the problem is with the hyperlinks, but the reason that the hyperlinks are slowing it down may not be related to Excel. The first thing you'll want to check is with any third-party firewalls or anti-virus programs on your system. It is possible that they are intercepting the hyperlinks in the paste operation and checking each of them out before allowing the paste to complete. The only way to find out if that is the case is to disable the suspect program just before you do the paste (and you can enable it after the operation).

Within Excel, your options really are limited. You really only have the choices available under Paste Special to get the information into the worksheet. You may not like the way that the information appears if you paste in text format, but you might also try the Match Destination Formatting option to see if it provides more acceptable results.

Finally, it is possible that the culprit isn't the hyperlinks but is related to your workbook recalculating. If there are a lot of formulas and functions used throughout the workbook, pasting will trigger a recalculation of the entire workbook. You can figure out if this is the culprit by simply turning off automatic recalculation (use the Calculation Options tool on the Formulas tab of the ribbon) before doing your paste.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7403) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Applying Table Formats

Want to make short work of formatting a large data table? You can use the AutoFormat feature of Excel to apply all sorts ...

Discover More

Printing a Portion of a Worksheet

Need to print a portion of a worksheet, but don't want to waste paper by printing the whole thing? It's easy to print ...

Discover More

Opening a Workbook with Two Windows

If you open a workbook and notice that Excel displays two windows for it, this has to do with how the workbook was saved. ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Hyperlinks No Longer Work in a Workbook

Hyperlinks can be a great timesaver and very convenient. Unless, of course, if they don't work as you expect. This tip ...

Discover More

Dynamic Hyperlinks in Excel

Hyperlinks to many types of Web sites rely on passing parameters in the URL. Knowing this, you can construct a dynamic ...

Discover More

Hyperlinks in Comments

Need to add a hyperlink to a comment or note? It's easy to do by following the steps outlined in this tip.

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is six minus 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.