How I do to validate a date?

  • Thread starter Thread starter Marcelo
  • Start date Start date
M

Marcelo

How I do to validate a date -> example 29/2 with a formula or with VBA.
Thanks in advance
 
Why don't you try:
If IsDate(Activecell) Then
' write some code here that Excel will execute once it has validated it
is a date
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top