{"id":74,"date":"2011-10-16T10:27:55","date_gmt":"2011-10-16T10:27:55","guid":{"rendered":"http:\/\/www.edcortes.ph\/?p=183"},"modified":"2021-07-11T07:58:31","modified_gmt":"2021-07-11T07:58:31","slug":"remove-hyperlinks-in-excel","status":"publish","type":"post","link":"https:\/\/emcortes.com\/?p=74","title":{"rendered":"Remove hyperlinks in Excel"},"content":{"rendered":"<p><em>Scenario (Applies to MS Excel)<\/em><\/p>\n<div>\n<p>When you type an entry in your worksheet that begins with any of the following prefixes, Microsoft Excel automatically creates a hyperlink:<\/p>\n<p>\u2022 http:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 www.\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 ftp:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 mailto:\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 file:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 news:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 \\\\<\/p>\n<p>Excel also creates a hyperlink when you type an e-mail address in the following format:\u00a0 <em>user name@company name.com<\/em><\/p>\n<p><em>Task<\/em><\/p>\n<p>Remove the hyperlinks of the data in a range in Excel. E.g. A1:A200<\/p>\n<p><em>Approach<\/em><\/p>\n<p>Use this VBA code to remove the hyperlinks:<\/p>\n<p>Sub RemoveHyperlinks()<\/p>\n<p>Range(&#8220;A1:A200&#8221;).Hyperlink<wbr>s.Delete<\/wbr><\/p>\n<p>End Sub<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Scenario (Applies to MS Excel) When you type an entry in your worksheet that begins with any of the following prefixes, Microsoft Excel automatically creates a hyperlink: \u2022 http:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 www.\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 ftp:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 mailto:\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 file:\/\/\u00a0\u00a0\u00a0\u00a0 \u2022 news:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u2022 \\\\ Excel also creates a hyperlink when you type an e-mail address in the following [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-excel","category-programming-notes"],"_links":{"self":[{"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emcortes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":1,"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/emcortes.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions\/336"}],"wp:attachment":[{"href":"https:\/\/emcortes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emcortes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emcortes.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}