Remove unwanted character from cell

laam090

New Member
Joined
Jan 9, 2018
Messages
11
I have Thai characters and English characters in a cell, I want to remove Thai and keep only English what do I need to do? Please help
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
are they mixed between each other or is there always a common separator?
 
Upvote 0
Hi, here is one option you can try, select the cells you want altered and run the code - test this on a copy of your workbook.

Code:
Sub RemoveThaiChars()
Dim i As Long
Application.ScreenUpdating = False
For i = 3584 To 3711
  Selection.Replace ChrW(i), "", xlPart, , False, False, False, False
Next i
Application.ScreenUpdating = True
End Sub
 
Upvote 0
thank you very much for the response and Yes that worked exactly how i wanted.. Thank you very much
 
Upvote 0

Forum statistics

Threads
1,224,770
Messages
6,180,854
Members
453,003
Latest member
SalihZekiKoni

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