vba excel date validation

  1. WildBurrow

    Date Validation Error

    I have the following code to ensure valid date; 'Discovery date not valid If Not Application.Intersect(target, range("I3")) Is Nothing Then If (Not IsDate(target.Value)) Then Application.EnableEvents = False target.Value = Empty...
  2. P

    vba excel data validation - how to clear entry?

    I get the input and error title I want on invalid Excel dates, but clicking 'Ok' still leaves the invalid entry. Clicking 'Cancel' clears it. Is my syntax wrong? Can I refer to the cell in error and clearcontents on it? [CODE] Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim...
  3. T

    Validating dates on forms

    Hi, I have been writing vba scripts for a few months now and the biggest headache I have come across, time after time, is how to validate a date input on a form. Nothing seems to work very well and I have tried lots of different suggestions from trawling through the 'net. There seems to be two...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top