ManhHungMHNH
Thành viên chính thức
- Tham gia
- 21/1/07
- Bài viết
- 76
- Được thích
- 0
Sub LocTKTH()
Dim KyPS As String, No As String, Co As String, TT As String, Clls As Range
Sheets("DKCTGS").Range("C12:E340").ClearContents
With Range(Sheets("NhapCtu").[E6], Sheets("NhapCtu").[j2669].End(xlUp))
.Offset(, 4).Resize(, 2).AdvancedFilter 1, , , True
.Offset(1, 3).Resize(, 3).SpecialCells(12).Copy: Sheets("DKCTGS").Range("C12").PasteSpecial 3
.Parent.ShowAllData
End With
End Sub
Sub LocTKTH()
Dim KyPS As String, No As String, Co As String, TT As String, Clls As Range
Sheets("DKCTGS").Range("C12:E340").ClearContents
With Range(Sheets("NhapCtu").[E6], Sheets("NhapCtu").[j2669].End(xlUp))
.Offset(, 4).Resize(, 2).AdvancedFilter 1, , , True
Union(.Offset(1, 2).Resize(, 1), .Offset(1, 4).Resize(, 2)).SpecialCells(12).Copy: Sheets("DKCTGS").Range("C12").PasteSpecial 3
.Parent.ShowAllData
End With
End Sub