I would like to read value from Excel cell containing Russian characters to VBA string variable or variant variable (for matrix). Suppose in A1
cell we have Russian characters (displayed properly).
When I read it as MyString=Range("A1").Value
the variable MyString
reads as ?????????????????????????????????150???50
Simmilarly this test fails:
? Activecell.Value
When I dump string to file with this code:
Dim myFile As String
Dim N As Integer
N = FreeFile()
myFile = "C:\MyFileName.txt"
Open myFile For Output As #N
Print #N, SQL
Close #N
Debug.Print myFile
I get ?????