Cancels the current validation process, and restores back the modified cells.
Type
Description
The DiscardValidateValue method has effect only if the CauseValidateValue
property is not zero. The DiscardValidateValue method restores the values for
modified cell during the validation. For instance, pressing the Cancel button
during the ValidateValue event
can restore the values for modified cells, using the DiscardValidateValue
method. The DiscardValidateValue automatically closes the current
editor. The EditClose method can be used to programmatically
closes the focused editor.