Help to remove text, Hyper Link Maybe

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,196
Office Version
  1. 2010
Platform
  1. Windows
I made a Hyper link but then decided not to use it. The text still shows in the cell. I can not delete it, I can not even select the cell. I tried selecting the entire row and it still will not go away. If I select all around it, then hit delete, nothing. What is this? How can I get rid of it? Thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I made a Hyper link but then decided not to use it. The text still shows in the cell. I can not delete it, I can not even select the cell. I tried selecting the entire row and it still will not go away. If I select all around it, then hit delete, nothing. What is this? How can I get rid of it? Thanks
Select the cell in question.
Right click>Remove hyperlink
 
Upvote 0
I can not even select the cell. When I click on the cell the text jumps, then thats it. I do not even get a right click menu, nothing.
 
Upvote 0
I can not even select the cell. When I click on the cell the text jumps, then thats it. I do not even get a right click menu, nothing.
Try selecting a nearby cell then use the arrow keys to move to and select the cell in question. Then you should be able to right click>remove hyperlink.
 
Upvote 0
Try the following code (replacing A1 with the cell reference in question)

Code:
Sub Delete_Hyperlink()
Range("A1").Hyperlinks.Delete
End Sub
 
Upvote 0
no go. I put this in a text box, is that why I can not delete it? If I select several cells around it, I can see an area around the text but can not select it. This is weird.
 
Upvote 0
Text box? You said it was in a cell.

Can't you delete the entire textbox? If you're having trouble selecting it, and it's the only object on that sheet, use Edit>GoTo>Special>Objects to select it.
 
Upvote 0
I found this code that removed what ever it was. Thanks for the help.

Code:
Sub aaa()
  For i = ActiveSheet.Shapes.Count To 1 Step -1
    ActiveSheet.Shapes(i).Delete
  Next i
End Sub
 
Upvote 0
It started as a text box in a cell, then I could not get rid of it. This code removes shapes? Don't know but it's gone. Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,752
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top