Created
June 13, 2019 11:04
-
-
Save DuongAQ/6a0f4ca47de58e9d0c99d2877972260c 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 AnHang() | |
Dim TuDong As Long, DenDong As Long | |
TuDong = Sheets("Sheet1").Range("B1").Value | |
DenDong = Sheets("Sheet1").Range("B2").Value | |
'Bo an tu dong 1 den 10000 | |
Sheets("Sheet1").Range("A1:A10000").EntireRow.Hidden = False | |
'An dong duoc chon | |
Sheets("Sheet1").Range("A" & TuDong & ":A" & DenDong).EntireRow.Hidden = True | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment