Hi, I used the code ... sn = Split(CreateObject("wscript.shell").exec("cmd /c dir """ & F & """ /a:-d /b").StdOut.ReadAll, vbCrLf). and after it goes on = Application.Transpose(sn). That returned what I need on the range. But ... Some files names in the Windows Files Explorer directory contains caracters such as é, ê, è etc. because the names are in french.
The problem is that in my range such caracters are replaced. As exemple ... Nouveautés was returned by Nouveaut,. My question is how to returned exactly as it is in the Windows File Explorer? Thanks in advance.
The problem is that in my range such caracters are replaced. As exemple ... Nouveautés was returned by Nouveaut,. My question is how to returned exactly as it is in the Windows File Explorer? Thanks in advance.