Maybe I did not explain exactly.

In my .xlam there is following Code:

Public getDateValue As Date
Function getDate(Stringvalue, Optional Condition = "Optional") As Boolean
But when I use this code and enter normally without capital letters, the notation will be not changed by VBA:

If getdate(myString) = True Then myDate = getdatevalue
Normalls VBA would change this to:

If getDate(myString) = True Then myDate = getDateValue