【Excel VBA】最終行取得・最終列取得

Excel全般

最終行取得

Cells(Rows.count,1).End(xlUp).Row

最終列取得

Cells(1, Columns.Count).End(xlToLeft).Column