1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ExcelVBA便利汎用メモ_「最終行取得」

Last updated at Posted at 2021-10-03

#はじめに
ExcelVBAで汎用的に使えて便利な関数などを掲載していこうと思います。
下に掲載していくか、この記事を更新していくかは検討中。。。

##最終行取得

Dim MaxRow,MaxCol As Long
MaxRow = Cells(Rows.Count, 1).End(xlUp).Row
MaxCol = Cells(1, Columns.Count).End(xlToLeft).Column
1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?