I have the following encrypted text in cell A1:
ԓԗՃխՓ՛ՐեՐ՞՚ըՖՑ՟խՑՙՔը՟՝ՇխՑ
I am trying to write this in a text file but the text shows as question marks characters ?????????????????
in the text file.
Here is my code:
textFilePath = ThisWorkbook.Path & "\customfile.txt"
FF = VBA.FreeFile
Open textFilePath For Output As #FF
Print #FF, CStr(Sheet1.Cells(1,1).Value)
Close #FF
FYI: If I manually copy and paste the value of cell A1 in notepad, the text shows fine.