Skip to content

Instantly share code, notes, and snippets.

@kerrypnx
Created January 17, 2020 03:28
Show Gist options
  • Save kerrypnx/cc2add585fe977e180a08a6e51339384 to your computer and use it in GitHub Desktop.
Save kerrypnx/cc2add585fe977e180a08a6e51339384 to your computer and use it in GitHub Desktop.
'Find the last non-blank cell in column A(1)
lRow = Cells(Rows.Count, 1).End(xlUp).Row
'Find the last non-blank cell in row 1
lCol = Cells(1, Columns.Count).End(xlToLeft).Column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment