Seçili alanın satır sayısını vermeye yarayan VBA kodudur.
Option Explicit Sub SecilenAlaninSatirSayisiniVer() MsgBox Selection.Rows.Count End Sub