lt;param name="newValue"&gt;Not currently used&lt;/param&gt;
''' &lt;param name="bStayInEditMode"&gt;Set to &lt;c&gt;True&lt;/c&gt; to prevent the grid from
 exiting
''' edit mode if the text fails validation.  By default it is
 &lt;c&gt;False&lt;/c&gt;.&lt;/param&gt;
Private Sub grdThis_PreCancelEdit(ByVal lRow As Long, ByVal lCol As Long,
 newValue As Variant, bStayInEditMode As Boolean)
      
   If (txtEdit.Text = "") Then
      Status = "Enter some text."
      ' This would be a good place for a popup 