Problem with line of VBA Code in Macro

  • Thread starter Thread starter Aaron Shumaker
  • Start date Start date
A

Aaron Shumaker

I'm running a macro in VBA (from MS access) - the macro
debugs when it gets to the line of code displayed below
and gives me the following message: "Compile Error:
Can't find project or library."

The code line that VBA debugs on is:

If Mid(DateAndTime.Value,1,3) = "Jan" Then

"MID" is highlighted. I don't know why this isn't working
because it worked for the past year and a half. Anyone
have any help? Thanks,
--aaron
 
Back
Top