How to remove special characters from Text Data in Excel

preview_player
Показать описание
Function Remove(Str As String) As String
'UPDATE BY PITAARA TECH
Dim xChars As String
Dim I As Long
xChars = "/.',0123456789#$%@!()^*&"
For I = 1 To Len(xChars)
Str = Replace$(Str, Mid$(xChars, I, 1), "")
Next
Remove = Str
End Function
Рекомендации по теме
Комментарии
Автор

Nice work dear... really very helpful and thank you... Wishing a great future....

anasaziz
Автор

You are great boss! It's really helps us! Love from Bangladesh!

imranhossenlimon
Автор

omg thankyou boss you made my day Godbless you Sir

mariellarangas
Автор

Amazing man! Thanks. By the way is there any VBA programming course you would recommend? I'm Advanced with DAX, SQL, and the Excel formula language but intermediate with VBA and want to bring it to the next level.

yasielmesa
Автор

Thank you so much, this formula has helped me a lot.

vivekdubey
Автор

Saved me a lot of time and efforts. Thank you so much for sharing.

dhavaldesai
Автор

Function Remove(Str As String) As String
'UPDATE BY PITAARA TECH
Dim xChars As String
Dim I As Long
xChars = "/.', 0123456789#$%@!()^*&"
For I = 1 To Len(xChars)
Str = Replace$(Str, Mid$(xChars, I, 1), "")
Next
Remove = Str
End Function

pitaaraopenit
Автор

thanks a lots brother saving my job
great things you done

Akashdahiwad
Автор

What if it's chats, it will also remove space btw the sentence and concatenate it or will remain same

mahendrarajpurohit
Автор

Very good info. I applied the code for 100 price values like Rs.34, 24, 250/-. I got output as numeric values like 3424250. But when I tried to apply =sum() function on these 100 values output is shown as zero 0. Plz help me.

sachinshirose
Автор

Thank you sir! Incredible. How would you apply this to removing "January, February, March, April, May, June, July, August etc."

boogachap
Автор

Need to remove space and double spaces as well.

abhijitnandy
Автор

I have the same scenario but a korean and english text combine. How to remove the korean characters?

manimaltv
Автор

I want to remove special character from 20 lakhs of data in MS Access... Can you provide query for this... Pls

vigneshravi
Автор

Not able to copy the code from comment box, can help me to get on mail

RahulTiwarikalyan
Автор

John if you don't have excel installed you can use www.text-filter.com online text tools

alisadenis
Автор

Bro link not copied bro how to copy bro

nareshpandu
Автор

Function Remove(Str As String) As String
'UPDATE BY PITAARA TECH
Dim xChars As String
Dim I As Long
xChars = "/.', 0123456789#$%@!()^*&"
For I = 1 To Len(xChars)
Str = Replace$(Str, Mid$(xChars, I, 1), "")
Next
Remove = Str
End Function

pitaaraopenit