|
-
Feb 17th, 2010, 09:45 AM
#1
Thread Starter
Addicted Member
compile error
i accidently copied and pasted everything n my form and when it asked me if i wanted to create an interger i pressed yes, i deleted what i copied but now when i try and run my form...
'Procedure decleraiton does not match description of eventor procedure having the same name'
what can i do
-
Feb 17th, 2010, 09:51 AM
#2
PowerPoster
Re: compile error
 Originally Posted by YEAYA
i accidently copied and pasted everything n my form and when it asked me if i wanted to create an interger i pressed yes, i deleted what i copied but now when i try and run my form...
'Procedure decleraiton does not match description of eventor procedure having the same name'
what can i do 
send me copy of you project
-
Feb 17th, 2010, 09:53 AM
#3
Re: compile error
Whichever routine it is showing you is an Event procedure (such as Form_Load, which automatically runs when the form loads).
Due to your accidental creation of a Control Array (not an Integer), the parameters that the Event needs are different - so the first line of the Sub/Function needs to change.
The easiest way to fix it is to copy the routines code (not the Sub/End Sub lines), then delete the entire routine... next use the drop-down lists at the top of the window to re-create the event, and paste the code into it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|