I need to open a CSV file with UTF-8 encoding through Excel VBA. I found for this purpose code snippet in the - Is it possible to force Excel recognize UTF-8 CSV files automatically?. This code snippet did not work for me. Many non-ASCII symbols become unreadable.
I also found other solution -Import text with foreign characters, which solved this problem, but that code is much longer. Maybe someone knows why the code below doesn’t work?
Workbooks.OpenText Filename:=filetoopen, Origin:=65001, DataType:=xlDelimited, Comma:=True