Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim mSht1 As Worksheet
Dim mSht2 As Worksheet
Dim mRng1 As Range
Dim mRng2 As Range, mRng3 As Range
Dim mStr1$, mStr2$, mStr3$, nStr1$, nStr2$, nStr3$
Dim s1%, s2%, m1%, m2%, m3%
On Error Resume Next
If Intersect(Target, [student].Columns(1)) Then
'MsgBox Target.Address
s1 = Target.Row - [student].Row + 1
End If
Set mRng1 = Range("student")
'MsgBox mRng1.Address