Skip to content

Instantly share code, notes, and snippets.

@DuongAQ
Created January 22, 2018 09:02
Show Gist options
  • Save DuongAQ/15da3fcc9290a092cdf1c30f76b57e2c to your computer and use it in GitHub Desktop.
Save DuongAQ/15da3fcc9290a092cdf1c30f76b57e2c to your computer and use it in GitHub Desktop.
Sub Loop_Test01() 'Ví dụ về vòng lặp lấy giá trị cho vùng từ A1 đến A10
Dim i As Integer
For i=1 To 10
Range("A" & i).Value=i
Next i
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment