Data validation???

G

Gareth

I want to stop users entering data into a cell without protecting the sheet.

I have tried setting data validation to Text length and the amount of
characters to 0. Is there a better way?

Thanks in advance.

Gareth
 
R

Ron de Bruin

One way

Place this event in the sheet module

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Application.Intersect(Range("B3"), Target) Is Nothing Then
Target.Offset(1, 0).Select
End If
End Sub

You can't select or edit B3 now
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top