For a User

D

Duncan

Is there a way of forcing a user to enter data in a cell, before they enter
enter any data in any other cells or perhaps before saving ther document?

Thanks
 
B

Bob Phillips

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If Range("A1").Value = "" Then
MsgBox "Workbook incomplate"
Cancel = True
End If
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Top