"Bad file name or number" in Access

Anonymous
2022-03-15T08:59:46+00:00

"Bad file name or number" error appears when I try to use Input Mask or Lookup Wizard, so I can't use those functions. Can it be fixed?

Microsoft 365 and Office | Access | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Oldest
  1. Duane Hookom 27,035 Reputation points Volunteer Moderator
    2022-03-15T23:00:10+00:00

    Did you look for the file I mentioned? If it’s not there or you can’t find it elsewhere, then I expect you need to fix your install.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-03-16T10:38:20+00:00

    Hello Mariia,

    This is the most common error occurring in MS Access, and below is the reference solution to get rid of this error.

    https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/bad-file-name-or-number-error-52

    Thanks,

    Suyash

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. George Hepworth 23,135 Reputation points Volunteer Moderator
    2022-03-16T14:08:01+00:00

    "This is the most common error occurring in MS Access...."

    I was not aware that the most common error in Access was inability to locate a file. Can you provide a link or source to learn more about that?

    In this case, though, it is possible that the file Duane identifies--ACWZUSR12.ACCDU-- is, in fact, not installed or not installed in the expected location on the OP's computer. It's even possible that file has been corrupted. Sometimes that can be remedied by a repair or reinstallation of the application, but if that has been tried, and has not resolved the error, we have to investigate further.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments