Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could use the change event. As long as there is something in row 4740
(in another column, even) then the event code below may help. Copy the code, right click on the sheet tab and select "View Code" and paste the code in the window that appears. HTH, Bernie MS Excel MVP Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim myRange As Range Dim myCells As Range On Error Resume Next Set myRange = Range("G5:H4740") If Intersect(Target, myRange) Is Nothing Then Exit Sub If Target.Row = myRange(1).Row Then Exit Sub Set myCells = myRange.Resize(Target.Row - myRange(1).Row, 2) If Application.WorksheetFunction.CountBlank(myCells) 0 Then MsgBox "Hey, you left blanks in " & _ myCells.SpecialCells(xlCellTypeBlanks).Address End If End Sub "kmcgee" wrote in message ... I have set data validation to require either a 0 or 1 be entered in the range 'g5:h4740'. Is there anyway to require the data be entered and not allow someone to tab through? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Require an entry in a cell | Excel Discussion (Misc queries) | |||
How do I require data entry in a cell before moving to the next ce | Excel Worksheet Functions | |||
Require specific cell entry before saving file | Excel Discussion (Misc queries) | |||
Require specific cell entry before saving file | Excel Discussion (Misc queries) | |||
Require alpha-numeric entry | Excel Worksheet Functions |