Hi Everybody,
I have a code which needs to check the element of array is date or non date ,if the value is true i need to format the value with oracle to_date function which will be then inserted into DB .But when i use the isDate function it returns true for non-date value (9999-0002). . From the array , I will get a element like 12/31/2015 .For example , if isDate(12/31/2015) is true then the condition would be to_date('12/31/2015','YYYY-MM-DD ') " but as the isDate() function is returning true for 9999-0002 , it is appending the to_date for all the non-date values.Please suggest me a vba function which will check for actual date value
My actual code look like below
Bookmarks