M.A.N
Thành viên mới
- Tham gia
- 16/3/09
- Bài viết
- 24
- Được thích
- 1
Option Explicit
Sub CopyTo()
Range("B2:B19").Select: Selection.Copy
Sheets("Sheet1").Select
Range("A2").Select: Selection.End(xlDown).Offset(1).Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, _
SkipBlanks:=False,Transpose:=True
Application.CutCopyMode = False
Sheets("Nhap").Select: [b2].Select
With [C2].Interior
If .ColorIndex < 34 Or .ColorIndex > 41 Then
.ColorIndex = 34
Else
.ColorIndex = .ColorIndex + 1
End If
End With
End Sub