Range(RefEdit1.Value) returns range selected with RefEdit1 control. You can proceed with this like regular range:
[tt]Private Sub RefEdit1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
MsgBox Range(RefEdit1.Value).Cells.Count
End Sub
Private Sub RefEdit1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
MsgBox Range(RefEdit1.Value).Offset(4, 0).Value
End Sub[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.