K
Ken Hudson
I have the following code as part of a macro:
Dim strTest As String
strTest = Date
strTest = Format(strTest, "mm-dd-yy")
When I compile the code I get the following error:
Compile error:
Wrong number of arguments or invalid property assignment.
I am getting a headache staring at this and trying to figure out the obvious
error, but can't.
Dim strTest As String
strTest = Date
strTest = Format(strTest, "mm-dd-yy")
When I compile the code I get the following error:
Compile error:
Wrong number of arguments or invalid property assignment.
I am getting a headache staring at this and trying to figure out the obvious
error, but can't.