Remove the "text to display" in excel

User avatar
Trinity765
Posts: 2321
Joined: Fri Nov 06, 2020 2:27 pm
Location: Brighton
Has thanked: 2442 times
Been thanked: 2398 times

Remove the "text to display" in excel

Post by Trinity765 »

Does anyone know how to remove the "text to display" in excel? I know how to do it one by one, but I want to do it for a whole column of data? I just need the link, not the text.
User avatar
Trinity765
Posts: 2321
Joined: Fri Nov 06, 2020 2:27 pm
Location: Brighton
Has thanked: 2442 times
Been thanked: 2398 times

Re: Remove the "text to display" in excel

Post by Trinity765 »

FYI, I've tried this macro but it's not working.

The link is something like https://apps.iloveexcel/admin/#/directo ... -521453675

But what I'm getting is https://apps.iloveexcel

Sub Strip_Hyperlink_Names()
Dim HLink As Hyperlink

For Each HLink In ActiveSheet.Hyperlinks
HLink.TextToDisplay = Replace(HLink.Address, "mailto:", "")
Next HLink

End Sub
User avatar
Trinity765
Posts: 2321
Joined: Fri Nov 06, 2020 2:27 pm
Location: Brighton
Has thanked: 2442 times
Been thanked: 2398 times

Re: Remove the "text to display" in excel

Post by Trinity765 »

Stand down and thanks if you gave it some thought. Someone did it manually :shock:
User avatar
Count Steer
Posts: 11804
Joined: Mon Jul 19, 2021 4:59 pm
Has thanked: 6375 times
Been thanked: 4749 times

Re: Remove the "text to display" in excel

Post by Count Steer »

I would have liked to help....but I didn't understand the question. :D
Doubt is not a pleasant condition.
But certainty is an absurd one
.
Voltaire
User avatar
Yorick
Posts: 16736
Joined: Sat Mar 14, 2020 8:20 pm
Location: Paradise
Has thanked: 10263 times
Been thanked: 6885 times

Re: Remove the "text to display" in excel

Post by Yorick »

My Excel skills were that level 10 years ago.
Retirement has fuddled me brain :D
User avatar
Cousin Jack
Posts: 4452
Joined: Mon Mar 16, 2020 4:36 pm
Location: Down in the Duchy
Has thanked: 2550 times
Been thanked: 2285 times

Re: Remove the "text to display" in excel

Post by Cousin Jack »

Yorick wrote: Tue Jan 24, 2023 4:59 pm My Excel skills were that level 10 years ago.
Retirement has fuddled me brain :D
Be fair to yourself, Excel has changed a lot. I used to be pretty damn good (IMO) but I struggle now
Cornish Tart #1

Remember An Gof!
User avatar
mangocrazy
Posts: 6892
Joined: Tue Dec 22, 2020 9:58 pm
Has thanked: 2402 times
Been thanked: 3625 times

Re: Remove the "text to display" in excel

Post by mangocrazy »

Cousin Jack wrote: Tue Jan 24, 2023 6:09 pm Be fair to yourself, Excel has changed a lot. I used to be pretty damn good (IMO) but I struggle now
Mine hasn't; on the main PC I use, I'm still on Office 2003... :mrgreen:
There is no cloud, just somebody else's computer.
User avatar
Cousin Jack
Posts: 4452
Joined: Mon Mar 16, 2020 4:36 pm
Location: Down in the Duchy
Has thanked: 2550 times
Been thanked: 2285 times

Re: Remove the "text to display" in excel

Post by Cousin Jack »

mangocrazy wrote: Tue Jan 24, 2023 8:39 pm
Cousin Jack wrote: Tue Jan 24, 2023 6:09 pm Be fair to yourself, Excel has changed a lot. I used to be pretty damn good (IMO) but I struggle now
Mine hasn't; on the main PC I use, I'm still on Office 2003... :mrgreen:
:o
When you are forced to change you will not enjoy the experience! :cry:
Cornish Tart #1

Remember An Gof!
User avatar
mangocrazy
Posts: 6892
Joined: Tue Dec 22, 2020 9:58 pm
Has thanked: 2402 times
Been thanked: 3625 times

Re: Remove the "text to display" in excel

Post by mangocrazy »

Cousin Jack wrote: Tue Jan 24, 2023 9:17 pm
mangocrazy wrote: Tue Jan 24, 2023 8:39 pm
Cousin Jack wrote: Tue Jan 24, 2023 6:09 pm Be fair to yourself, Excel has changed a lot. I used to be pretty damn good (IMO) but I struggle now
Mine hasn't; on the main PC I use, I'm still on Office 2003... :mrgreen:
:o
When you are forced to change you will not enjoy the experience! :cry:
I think the Office suite reached peak usefulness around 2003-2007. Ever since then it's just been a case of rearranging the deckchairs and trying to confuse the punters. I've got Office 14, 16 and 18 on other PCs but still prefer 2003. That's on my Windows 7 PC that also boots into various vintages of Kubuntu.
There is no cloud, just somebody else's computer.
User avatar
KungFooBob
Posts: 14196
Joined: Sat Mar 14, 2020 1:04 pm
Location: The content of this post is not AI generated.
Has thanked: 539 times
Been thanked: 7526 times

Re: Remove the "text to display" in excel

Post by KungFooBob »

mangocrazy wrote: Tue Jan 24, 2023 9:40 pm still prefer 2003
Someone's a 'clippy' fan.
User avatar
mangocrazy
Posts: 6892
Joined: Tue Dec 22, 2020 9:58 pm
Has thanked: 2402 times
Been thanked: 3625 times

Re: Remove the "text to display" in excel

Post by mangocrazy »

KungFooBob wrote: Tue Jan 24, 2023 9:42 pm
mangocrazy wrote: Tue Jan 24, 2023 9:40 pm still prefer 2003
Someone's a 'clippy' fan.
That was '97, wasn't it? Either way, you can delete clippy and his mates when installing...
There is no cloud, just somebody else's computer.
User avatar
KungFooBob
Posts: 14196
Joined: Sat Mar 14, 2020 1:04 pm
Location: The content of this post is not AI generated.
Has thanked: 539 times
Been thanked: 7526 times

Re: Remove the "text to display" in excel

Post by KungFooBob »

2003 was the last version with the 'Office Assistant'
User avatar
Yorick
Posts: 16736
Joined: Sat Mar 14, 2020 8:20 pm
Location: Paradise
Has thanked: 10263 times
Been thanked: 6885 times

Re: Remove the "text to display" in excel

Post by Yorick »

Image
User avatar
mangocrazy
Posts: 6892
Joined: Tue Dec 22, 2020 9:58 pm
Has thanked: 2402 times
Been thanked: 3625 times

Re: Remove the "text to display" in excel

Post by mangocrazy »

KungFooBob wrote: Tue Jan 24, 2023 9:45 pm 2003 was the last version with the 'Office Assistant'
Yeah, not disputing that; like I said you could ensure that it wasn't installed when doing a manual install by setting 'Do not install' for Office assistant. But the annoying little twat first surfaced in Office 97.
There is no cloud, just somebody else's computer.
Mr. Dazzle
Posts: 13937
Joined: Mon Mar 16, 2020 7:57 pm
Location: Milton Keynes
Has thanked: 2550 times
Been thanked: 6244 times

Re: Remove the "text to display" in excel

Post by Mr. Dazzle »

Image
Felix
Posts: 3940
Joined: Sat Jul 17, 2021 12:34 am
Has thanked: 484 times
Been thanked: 1427 times

Re: Remove the "text to display" in excel

Post by Felix »

Becky Excel writes quite amazing gluten free recipes :thumbup:

Was there not meant to be easter eggs hidden in all these versions of Office? If there was i could never find them