I want a user to enter its employee # in cell (let say) A1.
I don't want him to skip this cell, he must fill this cell.
How can I force him to fill this cell and dont let him goto next cell without filling this cell?
I am using Excel 2007
I don't think there is any way to do it without using code. Even if you do use code, your user can get around your scheme by disabling macros on open.
If you turn on worksheet protection with all cells locked except for the one you decide must be filled in then something like the following code may suit your needs. The sample is using an empty password ("") but a real password will probably be required. If the user disables macros they will not be able to unlock the sheet without knowing the password which is embedded in the code. If macros are enabled then they must enter a valid employee number in cell "A1" before the code will unlock the sheet.
Hope it helps.
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Address = "$A$1" Then
Select Case Target.Value
MsgBox "Welcome John Doe"
MsgBox "Welcome Jane Smith"
MsgBox "Invalid employee number, please try again"
Application.EnableEvents = True