Private Function InternationalCharacters(ByVal strText As String) As String
InternationalCharacters = strText
'If you type international turn first to english
'Type international and get english
InternationalCharacters = Replace(InternationalCharacters, "á", "a")
InternationalCharacters = Replace(InternationalCharacters, "é", "e")
InternationalCharacters = Replace(InternationalCharacters, "í", "i")
InternationalCharacters = Replace(InternationalCharacters, "ó", "o")
InternationalCharacters = Replace(InternationalCharacters, "ú", "u")
InternationalCharacters = Replace(InternationalCharacters, "ü", "u")
InternationalCharacters = Replace(InternationalCharacters, "ñ", "n")
'Add others as necessary á, é, í, ó, ú, ü, ñ
'Type english and get international
InternationalCharacters = Replace(InternationalCharacters, "A", "[AÁÀÂÄaá]")
InternationalCharacters = Replace(InternationalCharacters, "E", "[EÉÈÊËeé]")
InternationalCharacters = Replace(InternationalCharacters, "I", "[IÍÌÎÏií]")
InternationalCharacters = Replace(InternationalCharacters, "O", "[OÓÒÔÖ0oóøØ]")
InternationalCharacters = Replace(InternationalCharacters, "U", "[UÚÙÛÜuú]")
InternationalCharacters = Replace(InternationalCharacters, "N", "[NnñÑ]")
InternationalCharacters = Replace(InternationalCharacters, "C", "[CcçÇ]")
End Function