Bạn mở code ra và thêm .xls vào sau chữ CHITIET
Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Set Sh = Sheets("tonghop")
Set data = Range([A2], [AM65000].End(3))
Workbooks.Open ThisWorkbook.Path & "\CHITIET.xls"
Workbooks("CHITIET.xls").Sheets("CHITIET").[A1:AM10000].Clear
data.Copy Workbooks("CHITIET.xls").Sheets("CHITIET").[A1]
End Sub