View Single Post
  #2   Report Post  
Widemonk
 
Posts: n/a
Default

Like in another thread, i think the key would be when the users tries to
leave the page.

Try this in VBA:-
Private Sub Worksheet_Deactivate()
If Range("a1") < True Then
Worksheets("sheet1").Select
MsgBox "You have not completed all the details.", vbCritical, "Incomplete
detail"
End If
End Sub

It wont stop users switching to another workbook, but if you wanted it to,
you could put a similar thing into the workbook module too.


"Ian Varty" wrote:

I want to be able to prevent a user not filling in a required cell in a
worksheet. Anyone got any ideas?