Invalid Outside Procedure Error on VBA Event Subroutine
![qa-featured](https://www.techyv.com/sites/default/users/superadmin/qa-featured-300x270.png)
Last night, I started getting the attached error message and I have been stepping through this VBA event subroutine. I already encountered this problem before and I fixed it just by deleting the subroutine script after copying it to a text editor; however, this time I cannot fix it by myself.
It shows that there was no Event Procedure so I tried to do other procedure but nothing happened. I already did some research involving Access Option >> Current Database >> Name Autocorrect Options >> Perform Autocorrect but still no improvement to my problem at all. This problem makes me crazy so I’m hoping that somebody has got a solution to my situation.
![](https://www.techyv.com/sites/default/files/users/Ryan%20Banks/crm.jpg)
Customer Relationship Management
The expression On Click you entered as the event property setting produced the following error: invalid outside procedure.
* The expression may not result in the name of macro, the name of a user-defined function, or [Event Procedure].
* There may have been an error evaluating the function, event, or macro.
Show Help >>
OK
![](https://techyv.com/sites/default/2016/10/techpedia_logo.png)