Home |
Search |
Today's Posts |
#1
|
|||
|
|||
For a User
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 |
#2
|
|||
|
|||
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) "Duncan" wrote in message ... 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Example User Form Required | Excel Discussion (Misc queries) | |||
Cells User Select Locked after upgrade to Excel 2002 | Excel Discussion (Misc queries) | |||
Print scrollable user form. | Excel Discussion (Misc queries) | |||
Finding a record based on user input | Excel Discussion (Misc queries) | |||
Positioning 2 User Forms | New Users to Excel |