Sub Ahihi()
Dim NewFile As Workbook, Mau As Worksheet, SoSheet As Long
Dim arrS()
Dim Dong As Long
Set NewFile = Application.Workbooks.Add(xlWorksheet)
ThisWorkbook.Worksheets("mau").Copy , NewFile.Worksheets(1)
Set Mau = NewFile.Worksheets(2)
SoSheet = NewFile.Worksheets.Count
arrS = ThisWorkbook.Worksheets("danhsach").Range("A2:C19").Value
For Dong = 1 To UBound(arrS)
If arrS(Dong, 1) <> "" Then
Mau.Copy Mau
With ActiveSheet
.Name = arrS(Dong, 1)
.Range("B1") = arrS(Dong, 1)
.Range("B3") = arrS(Dong, 3)
End With
End If
Next Dong
End Sub