Command Button Error in every form

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

I have created multiple forms with identical command
buttons on each form. The command buttons were created
seperatly in each form. The same error appears on every
click when selecting a command button in any form. The
error is "complier error: Ambiguous name detected:
Close_Database_Click". How is it this error can be
eliminated?
 
The error means that you have two procedures in the form's code module with
the same name (Close_Database_Click). Open the VBA editor and delete one of
the procedures.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top