Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
is it possible to make a cell in excel as entry required
i need an excel sheet to prompt for entry so that it cannot be left blank
before saving or sending. i thought it would be done through data vaalidation but i cannot work it out |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
is it possible to make a cell in excel as entry required
There is no connection between Data Validation and saving a workbook. You'
have to use the workbook's BeforeSave event. This goes in the ThosWorkbook module: Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) If Sheet1.Range("A1").Value = "" Then Cancel = True MsgBox "Please complete cell A1" End If End Sub -- Jim "max power" wrote in message ... |i need an excel sheet to prompt for entry so that it cannot be left blank | before saving or sending. | | i thought it would be done through data vaalidation but i cannot work it out |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Excel: Cant copy an relative Cell and make absolute | Excel Discussion (Misc queries) | |||
Excel formula timestamp for a data entry of a referenced cell | Excel Worksheet Functions | |||
How do I make a particular column required in Excel? | New Users to Excel | |||
How do I make a particular column required in Excel? | Setting up and Configuration of Excel |