Created
December 22, 2016 08:51
-
-
Save ndthanh/8366b35a8f1a53f670b3cd2e72f61128 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 test() | |
Dim rg As Range, row As Range | |
Set rg = Sheet1.Range("B2").CurrentRegion | |
For Each row In rg.Rows | |
' in ra cửa sổ Immediate Window(Ctrl + G) | |
Debug.Print row.Cells(1, 1) | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment