tuoigiyeuem
Thành viên chính thức


- Tham gia
- 19/12/08
- Bài viết
- 99
- Được thích
- 4
Mình có ghi lại macro và ra đoạn code :
Range("A3:C30000").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.EntireRow.Delete
Nhưng khi chạy thì có lúc được, có lúc lại báo lỗi : Runtime error '1004' Cannot use that command on overlapping selections.
Mong mọi người chỉ giúp mình cách khắc phục.
Range("A3:C30000").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.EntireRow.Delete
Nhưng khi chạy thì có lúc được, có lúc lại báo lỗi : Runtime error '1004' Cannot use that command on overlapping selections.
Mong mọi người chỉ giúp mình cách khắc phục.