R
Ron
Hello,
The following code works in a Form class module but not a
standard module:
Dim d1 As DateTime
Format(d1, "MMMM")
In a standard module I get a squigly line saying that an
argument has not been specified for parameter format...
So I tried this:
Format(GetType(DateTime), d1, "MMMM")
but now I get the error message that the type provided
must be an enum. Any suggestions appreciated how I could
resolve this. What do I have to enumerate?
Thanks,
Ron
The following code works in a Form class module but not a
standard module:
Dim d1 As DateTime
Format(d1, "MMMM")
In a standard module I get a squigly line saying that an
argument has not been specified for parameter format...
So I tried this:
Format(GetType(DateTime), d1, "MMMM")
but now I get the error message that the type provided
must be an enum. Any suggestions appreciated how I could
resolve this. What do I have to enumerate?
Thanks,
Ron