Not possible, you just need to sanitise your impor...
# administration
m
Not possible, you just need to sanitise your imports on excel etc
s
@Matt Can you be more descriptive? Thanks! 🙂
g
You'd have to replace the accented characters with their non-accented equivalents prior to import.
m
You can't block it in NetSuite, so you'd just have to do some kind of find and replace in excel files for foreign characters like à è etc etc
s
@Matt and @Gregory Jones you all rock! Thanks for the tips. We will try it out and if I have any other questions I will circle back. Thanks guys! :]
g
Copy code
Sub ReplaceAccentedChar()
Const sFm As String = "ŠŽšžŸÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïðñòóôõöùúûüýÿ"
Const sTo As String = "SZszYAAAAAACEEEEIIIIDNOOOOOUUUUYaaaaaaceeeeiiiidnooooouuuuyy"
Dim i As Long, ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
    For i = 1 To Len(sFm)
        ws.Cells.Replace Mid(sFm, i, 1), Mid(sTo, i, 1), LookAt:=xlPart, MatchCase:=True
    Next i
Next ws
End Sub
👍 1
This is the macro that I use for the same need. Doesn't seem to have the accented S that you mentioned, but you can edit the strings of characters to include additional accented and non-accented equivalent
May be faster than find + replace depending on the size of your data