userform issue

userform issue

Anonymous
Not applicable
249 Views
2 Replies
Message 1 of 3

userform issue

Anonymous
Not applicable
In the app I'm writing I show a userform that gives the user a few options as command buttons. After the user selects an option the userform is hidden and depending on what the code does it redisplays the same userform with some options enabled and others not however when the userform is redisplayed only the form caption is visible. You can't see any buttoms or even the gray area of the form for that matter.
Does anyone know what causes this behavior?
0 Likes
250 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Just a guess ... try putting a "DoEvents" statement in your code just after
you tell the form to redisplay.

Gary
0 Likes
Message 3 of 3

Anonymous
Not applicable
I figured it out.
I was using "height" as a variable set to .125 and this was changing the "height" property of the form.
Live by cut and paste, die by cut and paste!
Thanks to all
0 Likes