Forum Discussion

Lalsultan's avatar
Lalsultan
Copper Contributor
Sep 17, 2019

Microsoft access failed to create the visual Basic module

I am working on a Microsoft -Access database, When I clicked button to show the screen for write code this error appeared(Microsoft access failed to create the visual Basic module) how can I fixed it?

please advise, how I can alert user when entering duplicate records after update
I really need someone to guide me
Thank You.
  • tsgiannis's avatar
    tsgiannis
    Iron Contributor

    Lalsultan Probably your alerting is the least of your issues...it seems that your application/installation is corrupt...

    Create a new empty database...and just create a new module...if everything is OK and you get to VBE then your application is corrupt...else your installation is corrupt...(the usual is to try repair..but the best solution is to uninstall..clear everything and reinstall)

Resources