You are on page 1of 1

Function Remover_os_Acentos(vtexto As String) vCom_Acento = "" vSem_Acento = "AAAAAACEEEEIIIIOOOOOUUUUaaaaaaceeeeiiiiooooouuuu" For i = 1 To Len(vtexto) vposicao = InStr(vCom_Acento, Mid(vtexto, i, 1)) If vposicao >

0 Then vtexto = Replace(vtexto, Mid(vCom_Acento, vposicao, 1), Mid(vSem_Ace nto, vposicao, 1)) End If Next Remover_os_Acentos = vtexto End Function