Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim oCell As Range
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Application.Intersect(Target, ActiveSheet.Range("B1:E1")) Is Nothing Then
MsgBox "This cell cannot be selected"
oCell.Select
Else
Set oCell = ActiveCell
End If
End Sub
Private Sub Worksheet_Activate()
Set oCell = ActiveSheet.Range("B1")
oCell.Select
End Sub
It would look better...