Microsoft access failed to create the visual Basic module

Highlighted
Occasional Visitor

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?

error.PNG

please advise, how I can alert user when entering duplicate records after update
I really need someone to guide me
Thank You.
1 Reply
Highlighted

@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)