Microsoft access failed to create the visual Basic module

Copper Contributor

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.
1 Reply

@Lalsultan Probably your alerting is the least of your 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)