Access: the code contains a syntax error

Anonymous
2019-09-24T20:04:37+00:00

When I try and place a command button on a form I get the following message:

Microsoft 365 and Office | Access | For home | 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
{count} vote

18 answers

Sort by: Most helpful
  1. Anonymous
    2019-09-26T01:43:22+00:00

    I haven't heard from you all day. Anything new?

    0 comments No comments
  2. Anonymous
    2019-09-26T04:48:33+00:00

    Access is only available for the PC.  That said, have you opened it since the reinstall?  Hmm, and are you running the 32 bit or 64 bit version?

    0 comments No comments
  3. Anonymous
    2019-09-26T14:00:48+00:00

    Yes i have run it since the reinstall. I cannot find whether this is a 32 bit or 64 bit installation. My computer is a 64 bit machine.

    0 comments No comments
  4. George Hepworth 22,220 Reputation points Volunteer Moderator
    2019-09-26T14:32:46+00:00

    You can find the version of Access installed on your computer by clicking on File--> Account-->About Access.

    The bitness of your Office applications is independent of the Windows bitness, with one caveat. You can run either 32 bit or 64 bit applications (including Office) on 64 bit Windows. However, on 32 bit Windows, you can only run 32 bit applications (again, including Office).

    Something tells me there's more going on here than we've seen so far.

    Can you verify that you have a licensed installation of MS Access? It does appear that you have the version of Office that would NOT include Access, so any Access application on your computer would have to be licensed and installed separately and in addition to it. Is that the case, or did I misread some of the prior responses?

    0 comments No comments
  5. Anonymous
    2019-09-26T17:24:04+00:00

    Here is the version and license information:

    0 comments No comments