Sorry again
As above-mentioned the function executes as expected with precise results.
It is just the notation when I am writing the code.
I write in lower case letters:
If getdate(myString) = True Then myDate = getdatevalue
and expect that VBA corrects the notation as it is defined in the .XLAM module and VBA does with all other code:
If getDate(myString) = True Then myDate = getDateValue
Bookmarks