Compile Error

Chimp8471

Registered User.
Local time
Today, 05:38
Joined
Mar 18, 2003
Messages
353
I am trying to make an MDE file but each time i run the option i get the following error appear.

CompileError In Hidden Module Form_FrmUsersLogon


any ideas what the problem could be,

if you want i can paste the code from wherever required.

Cheers

Andy
 
The problem is that you have a subroutine in the module of that form that is related to the event of an object which no longer exists.

So, if you had a button cmdCancel with a click event.

Code:
Private Sub cmdCancel_Click()
    MsgBox "Hello World!", vbInformation, "Example"
End Sub

and then deleted the button off your form then the button may be gone but the code isn't. This code can be either removed or commented out as, if when compiling, the comments are removed.
 
Milo

I am going to put your name forward for the Queens honours list,

Once again you haved sorted it.

Cheers

Andy
 

Users who are viewing this thread

Back
Top Bottom