Hi all,

I'm having a anomaly here.

I had a module named FORMAT containing some subs inside. Then I came across to situation, when I needed to format textbox value as a date, which is picked up from Monthview control. Now, when I try to format the textbox as "dd/mm/yyyy"

Private Sub kalendorius_DateClick(ByVal DateClicked As Date)
tDate.Value = Format(DateClicked, "dd/mm/yyyy")
End Sub
it defaults to

Private Sub kalendorius_DateClick(ByVal DateClicked As Date)
tDate.Value = FORMAT(DateClicked, "dd/mm/yyyy")
End Sub
And threw some errors at me. Since then I renamed module to something else, but the Format still defaults to FORMAT (ex module name) and the code does not get executed.

What is going on here? Please help!

Thanks in advance!