I agree it should work, and I spent several hours trying all sorts, because it seemed so illogical.
But the error is constant.
Code:
Private Sub Date_Entered_Click()
Dim x As String
x = "12/3/1967"
Debug.Print Format(x, "dddd, dd mmm yyyy")
End Sub
I do want to use Date_Entered (which is a date Datatype), but when this errored x was tried as a test.
This also returned the same Type mismatch Error
Debug.Print Format(Date_Entered, "dddd, dd mmm yyyy")
In the end this worked:
Code:
Private Sub Date_Entered_Click()
Debug.Print DateFormatThis (.Date_Entered)
End Sub
Function DateFormatThis(d) As String
DateFormatThis = Format(d, "dddd, dd mmm yyyy")
End Function
With the function in a module.