2017-12-24 8 views
0

유니 코드의 긴 스트로크 오버레이를 사용하여 여러 개의 값을 가진 파일을 Excel로 가져 왔습니다. 그들 모두를 찾아서 0으로 대체해야합니다. 이 문자를 찾기 위해 어떤 기능을 사용할 수 있습니까?유니 코드 "long stroke overlay"가 적용된 문자 찾기 excel

+0

이 방법을 바꾸거나 다음 찾기를 사용하여 각 항목을 찾으십시오. [특수 유니 코드 문자 찾기 및 바꾸기] (https://stackoverflow.com/questions/29946639/find-and-replace) -a-special-unicode-character)와 ChrW (0336) – QHarr

+0

또는 Regex way를 추측하고 있습니다. https://stackoverflow.com/questions/37024107/excel-vba-remove-unicode-characters-in-a-string – QHarr

답변

0

적응 @Jeeped의 답은 다음과 같습니까?

Sub ReplaceLongStrongOverlay() 
    With ActiveSheet 
     .Cells.Replace what:=ChrW(822), replacement:="0", lookat:=xlPart 
    End With 
End Sub 

다른 방법으로, 같은 RegEx 패턴을 설정할 수 있습니다 "[^ \ u0336]"이 조금 바이올린해야하고, True-regEx.Global 세트와 발견을하고 대체 할 수 있습니다.