Error with DateDiff

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have copy a few code regarding DateDiff on this forum, and even use the
one in ACCESS Help, but when I debug my module, the error come up with
DateDiff as below.

Compiled Error
Expected Variable or Procedure Not module.

Could you please help me how to overcome this error.

Thanks
Hong
 
You didn't happen to save your code into a module named DateDiff, did you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with my function vba code 1
DateDiff 4
datediff 4
Can't query DateDiff 3
DateDiff function throwing error in Where clause 7
CalcWorkDays error 1
IF Statement Error 1
Writing Multiple IIF Function 3

Back
Top