Question : Error after converting Macro to VBA

I am trying to use forms from an .mbd file in an .adp project. The mdb was created from the Contacts database template. The forms rely on embedded macros which, I believe, are not recognised in an Access project. Accordingly, I chose to convert the form's macros to VB using th efunctionality provided by Access 2007. However, after converting, the forms no longer work and that's within the mdb file. When clicking on any field with an event procedure (replaced macro), I get the following error: Procedure declaration doe not match description of event or procedure having the same name.
Can you help?

Answer : Error after converting Macro to VBA

Delete the event procedure in the properties window for the control, then select [Event Procedure] in the dropdown. click on the button with three dots. This will open the Visual Basic editor at a new created procedure. More the code to this new procedure and delete the old procedure.  
Random Solutions  
 
programming4us programming4us