• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Unspecified error when calling Userform

swetha690

New Member
Hi All,


I have a VBA code where cicking Yes on one form should take me to another form. To invoke the 2nd form, I used the command,

[pre]
Code:
Userform1.Show
[/pre]
When I Run the code, it says that there is an unspecified error and points to the line above. Any help in this regard would be really helpful for me.


Thank You,

Swetha
 
Long shot here, but are you sure the name is correct? By default, XL would have named the form

Code:
UserForm1

with a capital F, making me wonder if there's a typo somewhere.
 
Hi swetha690 !


Follow the code via the F8 key 'cause when an UserForm code causes an error (often in its Activate or Initialize event),

only its calling in the main procedure is highlighted …
 
Back
Top