Seçili hücrelerin sayısını vermeye yarayan VBA kodudur.
Option Explicit Sub SeciliHucrelerinSayisiniVer() MsgBox Selection.Count End Sub