Member Already Exist in an Object Module

aliaslamy2k

New member
Local time
Today, 03:53
Joined
Oct 9, 2009
Messages
3
Hi,
I want some help on this error. I have changed names but still i am getting same error.
Kindly advise if there is any ways for me to know what is causing this error.
Error1.JPG
 

Attachments

  • Error2.JPG
    Error2.JPG
    81 KB · Views: 109
  • Error3.JPG
    Error3.JPG
    80.6 KB · Views: 124
My guess is, you can't have a subroutine named SearchAll.

Change it to SearchAllX and give it a try.
 
Well you called your button the same name as your Sub in the form ?

I tend to prefix my buttons with cmd ?
 
rename Sub SearchAll() to

Sub udfSearchAll()

then call it:

Private Sub SearchAll_Click()
Call udfSearchAll()
End Sub
 
Hello Uncle,

It worked ! I changed the Sub name different.

Thank you So much
 

Attachments

  • Solved.JPG
    Solved.JPG
    60.7 KB · Views: 130

Users who are viewing this thread

Back
Top Bottom