vba - Read Chinese characters from Excel worksheet? (Always returns "????") -


how read chinese characters excel cells , write them file? when take values

worksheets(activecell.worksheet.name).cells(3, columnnumbers(0)).value 

it returns "????????"

        dim filestream, filepath string              'full properties file path         propfilepath = "c:\file.properties"          'create stream object         set filestream = createobject("adodb.stream")          'specify stream type – want save text/string data.         filestream.type = 2          'specify charset source text data.         filestream.charset = "utf-8"          'open stream , write binary data object         filestream.open         filestream.writetext "write here"          'save binary data disk         filestream.savetofile filepath, 2         filestream.close 

Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -