The expression you entered has a function name that Microsoft Offi

  • Thread starter Thread starter Ellen
  • Start date Start date
E

Ellen

Using Access 2003. Macro suddenly stopped working and displays the following
message:

"The expression you entered has a function name that Microsoft Office Access
can't find" appears when the DIR() function is used but does not if it is
removed from the condition statement on the macro.

The macro performs the condition check and then Beeps if true. Here is the
conditional statement.

"CUNAREQ.XLS"=UCase(Dir("\\smpftpp02\AshBrkrgeS\CUNAREQ.xls"))

Any ideas why this would stop working?

Ellen
 
Back
Top