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 |
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 |
All times are GMT +1. The time now is 11:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com