I made a simple form in Visual Basic. After starting I get an error:Run-time error 424 object required. A downloaded example works fine. Debugging show:
Can anybody help?Please Login or Register to view this content.
I made a simple form in Visual Basic. After starting I get an error:Run-time error 424 object required. A downloaded example works fine. Debugging show:
Can anybody help?Please Login or Register to view this content.
Last edited by mudraker; 07-07-2008 at 07:52 AM.
Ranpak
Welcome to Exceltip forum
Please take a couple of minutes and read the Forum Rules (rule 3)
As there is a time limit on editing your posting I have wrapped your VBA code for you
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
Good morning Ranpak
Some (but not all) errors generated within userforms helpfully point out the line of code that opens the userform, rather than the actual line that the error lies within. That is what has happened in this instance.
You would be better off either posting your userform code (remeber to use code tags this time ) or upload your workbook for someone to take a look at.
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
I'm inexperienced forum user. Thanks for your remarks.
I will include the complete code with [code]
Originally Posted by mudraker
Check the UserForm_Initialize and/or UserForm_Activate code, the error is probably there.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Originally Posted by royUK
PROBLEM FOUND! I did not re-NAME the TEXTBOX. The tutorials a followed did not mention to do this
Thanks RoyUK.
Cheers, Ranpak
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks