excel vba - Find and replace a special unicode character -


i have particular column has multiple occurrences in multiple rows of special character. it's "response" character. it's capital r slash through it. it's represented unistring 211f. can represented in html &#8479.

i'd use vba search "response" character , replace "response" , line feed asc(10).

how can search , replace special character?

you want search what:=chrw(8479) , replace replacement:="replace" & chr(10).

this quick code make unichar-to-text replacement across active worksheet.

sub replace_response()     dim fnd range     activesheet         .cells.replace what:=chrw(8479), replacement:="response" & chr(10), lookat:=xlpart     end end sub 

the range of replacements can pared down column, row or selected group of cells.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -