I’m trying to open a file for input in Excel with this line :
Open tmpNmFichier For Input Shared As #iFnum
The problem is that my file has some characters like : “é”, “à” … When I’m parsing the file with :
Dim s As String
Line Input #iFnum, s
If Len(s) > 0 Then
v = Split(s, tmpSeparateur)
Else
ReDim v(-1 To -1)
End If
my characters “é” … are transformed in : “è” or “Ã…”
Do you have any idea how i can explicit the encoding of my file or something like that?
Use
FileSystemObjectinsteadvalues