Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default vba: isDate function

I need to check if a cell contains a date value of particular format
(dd/mm/yyyy). It looks like isDate checks only for a date value and not the
format of the date. Is there any other function that i can use to do this.

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default vba: isDate function

MsgBox ActiveCell.NumberFormat = "dd/mm/yyyy"

"phil" wrote:

I need to check if a cell contains a date value of particular format
(dd/mm/yyyy). It looks like isDate checks only for a date value and not the
format of the date. Is there any other function that i can use to do this.

thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IsDate? Arne Hegefors Excel Worksheet Functions 3 January 30th 07 01:44 PM
CDate and IsDate Geoff Excel Programming 3 June 4th 05 02:20 PM
VBA function , IsDate() not available Office Engineer Excel Programming 3 May 27th 05 07:19 AM
CDate cannot coerce value of IsDate(true)? tkstock[_4_] Excel Programming 1 November 1st 04 04:34 PM
IsDate Function Don Lloyd Excel Programming 14 August 23rd 04 05:57 AM


All times are GMT +1. The time now is 12:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"