Created
February 9, 2018 11:46
-
-
Save DuongAQ/f68578b4f6f57b4f77d8ac6e23ca0240 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub An_Cot_Vidu03() 'Ẩn từ dòng 5 tới dòng cuối cùng có chứa dữ liệu | |
Dim i As Integer | |
'Tìm dòng cuối cùng trong bảng | |
Dim LastRow As Long | |
LastRow = Sheet1.Range("A1").SpecialCells(xlCellTypeLastCell).Row | |
'Ẩn hàng | |
Sheet1.Range("A5:A" & LastRow).EntireRow.Hidden = True | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment