AboutScottgem Expertise I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.
Experience I've been designing databases for over 15 years working with dBase, FoxPro, Approach and Access.
Organizations Author of Microsoft Office Access 2007 VBA Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing
Question this is my last attempt, sorry to bother you but i followed your instructions and I am getting a complie error and it has the DateDiff function highlighted
Answer What did the error say and what was the exact line highlighted.
Please don't give up on this, its not complex, but there may be small issues that cause an error. But I tested the code I gave you. I know it works, so there may just be some small piece you are missing.
Hope this helps,
Scott<>
Microsoft Access MVP 2007
Author: Microsoft Office Access 2007 VBA