PDA

Click to See Complete Forum and Search --> : VBA Userform Crashing


WVURules
Jul 11th, 2011, 06:45 AM
I was wondering if any of you ever had trouble with a userform crashing when it is run from clicking a button that is linked to a macro, however I runs fine when the developer is open? Weird problem, in that I can't set a breakpoint to trap the problem. I have written some code so the macro will dump certain info into a text file so I can see where it is crashing at. Funny thing is, it is crashing at places it shouldn't be! I have three userforms so far on this project. Two of them work great, but this one randomly crashes. Any help would be appreciated by me and my boss

akhileshbc
Jul 11th, 2011, 11:09 AM
Hi.. Welcome to the forums... :wave:

It would be better if you post the code !

Hack
Jul 11th, 2011, 11:14 AM
And what kind of VBA/Userform you have/are using?

Excel?
Word?
Something else entirely?

WVURules
Jul 11th, 2011, 11:36 AM
Thanks for the replies. I will try to clean it up and post it later today. Right now I'm at work and using this forum from my iPhone.