I have a field that’s formatted as text and contains URLs. I don’t want them to appear as hyperlinks, but only as text. When I imported the data from a CSV file, the URLs did appear as text. However, if I edit an URL in a cell, the URL turns into a hyperlink as soon as I finish. I can right-click and remove the URL, but that’s tiresome. I didn’t find it in the Help, but can I turn off or remove hypelinks from a given worksheet, permanently? Thanks.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Removing hyperlinks (2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Removing hyperlinks (2003)
- This topic has 8 replies, 3 voices, and was last updated 16 years, 8 months ago.
Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerMay 7, 2008 at 6:25 pm #1108454To prevent URLs from being turned into hyperlinks when you edit a cell:
– Select Tools | AutoCorrect Options…
– Activate the AutoFormat As You Type tab.
– Clear the check box “Internet and network paths with hyperlinks”.
– Click OK.To turn existing hyperlinks into ordinary text values:
– Activate the Visual Basic Editor (Alt+F11)
– Activate the Immediate window (Ctrl+G)
– Type ActiveSheet.Hyperlinks.Delete and press Enter.
– Switch back to Excel. -
WSJimmy-W
AskWoody Lounger -
WSDon_Sadler
AskWoody LoungerSeptember 24, 2008 at 10:07 am #1126862Edited by HansV to provide link to post. It’s extremely easy: just include the brackets [ and ] and the Lounge software will create a link.
Hans, I have a question about this. I have a SS with several columns; col A has hyperlinks but shows text (that is, you see the company name but must click on it to follow the link). Col B has the URL only which I extracted using a function you described in post 537,320. This URL is an active link and is blue and underlined.
Now, I did what you suggested here and it did, indeed, remove the hyperlinks from Col A but it left Col B intact (blue and underlined). My question is why? I am pleased that this happened but why didn’t it change all the links to text?
Moreover, if I did want to change the actual URL links to mere URL text, how would I do that? Finally, if I want to select part of a column, or row, or a rectangle, would would I apply the same immediate procedure to ‘unlink’ the selected cells?
-
WSHansV
AskWoody LoungerSeptember 24, 2008 at 10:17 am #1126867The GetAddress function itself doesn’t produce hyperlinks, it just returns a text string. So if column B contains clickable hyperlinks, you must somehow have turned these cells into hyperlinks.
But the method from post 710,109 in this thread should remove ALL hyperlinks, so I don’t understand what’s happening.If you want to remove hyperlinks from selected cells only, use
Selection.Hyperlinks.Delete
instead of
ActiveSheet.Hyperlinks.Delete
You can also specify an explicit range:
Range(“A1:D10”).Hyperlinks.Delete
-
WSDon_Sadler
AskWoody LoungerSeptember 24, 2008 at 3:58 pm #1126886Thanks for the info. In fact, I did use the getaddress function just as you explained it. I put the function in column B and extracted the address from Col A (replicated down Col
. The result was for Col A to lose the hyperlink and become plain text while Col B became the hyperlink showing the ful URL.
-
WSHansV
AskWoody Lounger -
WSDon_Sadler
AskWoody LoungerSeptember 24, 2008 at 6:39 pm #1126898What is going on is simple. I was wrong.
Here is what happened… When I inserted a new column (Col
, it inherited the formatting of Col A in which each cell was blue and underlined (as they were hyperlinks). Then I used the getaddress function in Col B and replicated it down the column; it worked perfectly in copying the URLs from Col A into Col B… of course, each URL inherited the formatting from Col A (blue & underlined). I assumed that since they looked like hyperlinks that they were, in fact, hyperlinks; but they were not hyperlinks, the cells contained only text with hyperlink formatting. Then when I removed the hyperlinks using the immediate procedure, it worked and removed all the hyperlinks from Col A (also removing the hyperlink formatting from Col A). However, that procedure did nothing with Col B since Col B merely had the appearance of hyperlinks (text that was blue and underlined) but there were no actual hyperlinks.
In short, I have wasted your time. Sorry for that.
-
WSHansV
AskWoody Lounger
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Microsoft : Edge is better than Chrome
by
Alex5723
8 hours, 2 minutes ago -
The EU launched DNS4EU
by
Alex5723
20 hours, 44 minutes ago -
Cell Phone vs. Traditional Touchtone Phone over POTS
by
280park
11 hours, 4 minutes ago -
Lost access to all my networked drives (shares) listed in My Computer
by
lwerman
1 day, 2 hours ago -
Set default size for pasted photo to word
by
Cyn
1 day, 8 hours ago -
Dedoimedo tries 24H2…
by
Cybertooth
20 hours, 18 minutes ago -
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
2 days, 7 hours ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
2 days, 4 hours ago -
Small desktops
by
Susan Bradley
5 hours, 1 minute ago -
Totally disable Bitlocker
by
CWBillow
1 day ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
2 days, 4 hours ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
3 days, 11 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
1 day, 5 hours ago -
Mystical Desktop
by
CWBillow
3 days, 14 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
2 days, 19 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
7 hours, 1 minute ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
4 days, 5 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
4 days, 8 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
4 days, 6 hours ago -
What is wrong with simple approach?
by
WSSpoke36
2 days, 4 hours ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
4 days, 17 hours ago -
Location, location, location
by
Susan Bradley
3 days, 8 hours ago -
Cannot get a task to run a restore point
by
CWBillow
4 days, 19 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
4 days, 10 hours ago -
June 2025 Office non-Security Updates
by
PKCano
5 days, 6 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
8 hours, 32 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
5 days, 6 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
5 days, 16 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
4 days, 19 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
6 days, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.