Skip to content

Instantly share code, notes, and snippets.

@ndthanh
Last active December 22, 2016 08:40
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/a189e19f1363b648fc8a657ac4c79775 to your computer and use it in GitHub Desktop.
Save ndthanh/a189e19f1363b648fc8a657ac4c79775 to your computer and use it in GitHub Desktop.
Học Excel Online - tìm dòng cuối, cột cuối
lastRow = Range("A" & Sheet1.Rows.Count).End(xlUp).Row
lastcol = Range("A" & Sheet1.Columns.Count).End(xlToLeft).Column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment