其它軟體直接輸出沒原始檔案,編碼不對,造成亂碼
用vba修正編碼的方式,請參考

'程式碼放到模組(module)裡
'執行test()副程式
Sub test()
Dim Clipboard As Object, temp As String, i As Integer, j As Integer, r As Integer, c As Integer
Set Clipboard = CreateObject("new:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
r = Range("a1").CurrentRegion.Rows.Count
c = Range("a1").CurrentRegion.Columns.Count
For i = 1 To r
For j = 1 To c
temp = temp & Cells(i, j) & vbTab
Next j
temp = temp & vbNewLine
Next i
Clipboard.SetText Replace(encode_fix(temp, "big5", "Windows-1252"), "???", "")
Clipboard.PutInClipboard
With ActiveSheet
.Cells(r + 10, 1).Select
.PasteSpecial NoHTMLFormatting:=True
.Columns.AutoFit
.Cells(1, 1).Select
End With
Set Clipboard = Nothing
End Sub
Function encode_fix(old_data As String, New_Charset As String, Old_Charset As String) As String
Dim Encode As Object
Set Encode = CreateObject("adodb.stream")
With Encode
.Type = 2
.Charset = Old_Charset
.Open
.WriteText old_data, adWriteLine '
.Position = 0
Debug.Print .readtext
.Position = 0
.Charset = New_Charset
encode_fix = .readtext
.Close
End With
Set Encode = Nothing
End Function