Hey
This worked fine for some short (but blissfull) time
Now the damn error message pops and says error 3011, can't find the file..
Why isn't On Error stopping it anymore ?

This worked fine for some short (but blissfull) time
Code:
On Error GoTo MANError
pathbgc = Path & "\Man.xls"
DoCmd.TransferSpreadsheet acImport, , "B_Man", pathbgc, vbYes
MANError:
If Err.Number = 3011 Then ExitSub
'--------------------------------------------------------------------------
Now the damn error message pops and says error 3011, can't find the file..
Why isn't On Error stopping it anymore ?