>>29 Dim strPath As String Dim buf As String Dim buf2() As Byte Dim fileno As Integer fileno = 1 buf = "1234" buf2 = StrConv(buf, vbUnicode) buf3 = buf strPath = "C:/test.txt" Open strPath For Output As #fileno Print #fileno, buf2; Close #fileno かなり適当に書いたが、こんなもんじゃないのか? FFFEは省いてるが