How to remove hidden tick marks ' from Excel

mv8167

Board Regular
Joined
Apr 27, 2005
Messages
103
This sems like a simple question. But i havent found a solution online that fixes my tick mark issue.

My cell indicates TC_ ABC_123 but when selecting the cell i see 'TC_ABC_123.

When i deleted the ' mark manualy, it returns. Doing a replace ' with "" does not find anything. I tried the following macro with still no luck.

How can i remove the ' tick mark?

Sub NoMoreApostrophes()

lastrow2 = Sheets("TestPlanInfo").Cells.Find(What:="*", SearchDirection:=xlPrevious, SearchOrder:=xlByRows).Row 'find lastrow of sheet2
rng = "N2:N" & lastrow2

With Worksheets("TestPlanInfo").Range(rng) '.UsedRange
.value = .value
End With
End Sub

Thank for any ideas
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try this:
Copy any blank cell.
Select the cells with tic marks.
Do Pastespecial>Operation and choose the Add button.
Click OK.
 
Upvote 0
Thx JoeMo,

I had tried your idea eawrlier with no luck.

I ended up going Home->Editing->Clear->Clear Formats

This worked finally ;)
 
Upvote 0
It vexes me too. Use Notepad "it will display all hidden characters" and REPLACE will do the job for '.
 
Upvote 0

Forum statistics

Threads
1,215,492
Messages
6,125,116
Members
449,206
Latest member
burgsrus

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