Skip to content

Instantly share code, notes, and snippets.

@ndthanh
Created December 22, 2016 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ndthanh/8366b35a8f1a53f670b3cd2e72f61128 to your computer and use it in GitHub Desktop.
Save ndthanh/8366b35a8f1a53f670b3cd2e72f61128 to your computer and use it in GitHub Desktop.
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