That fixed it - It was the line after the first one though. It was highlighted in blue cursor (i guess yellow is just the button category of where the code lies?). The "Dim strMsgBox As StrinForum.Recalc" - I commented that out and it seems to work now.
Thank you!
Its a button. When they click the button it posts the hours to the corresponding user. I know its not much information, its worked forever and just recently broke. So I don't think its the code per say - maybe something under references in missing.
Correct I don't use it - some other people do...
Access 2007
------------
Code
End Code
----------
Gives error Compile error: User-Defined type not defined.
They try to post hours to an employee and it gives this with the top line highlighted.
I have Microsoft DAO 3.6 Object Library selected under tools --> references for my database.