I have some worksheets that contains chinese characters (unicode I presume.) I am looping through sheets and writing the stuff out to a text file, however, when I open the text file the chinese chars are converted to "????"
This is the code I use to read in the chars from excel:
And here I write it out:
My question: How do I read the chinese chars and qrite them out to the text file also in VBA?
Thanks!!
This is the code I use to read in the chars from excel:
Code:
Do While CellColCount <= ColCount
StringStore = StringStore + " '" + CStr(Current.Cells(Row, CellColCount + 1)) + "'"
If CellColCount <> ColCount Then
StringStore = StringStore + ", "
End If
CellColCount = CellColCount + 1
Loop
And here I write it out:
Code:
Print #fHandle, StringStore
My question: How do I read the chinese chars and qrite them out to the text file also in VBA?
Thanks!!