Re: populate a list box with different data
- From: "Tom Ogilvy" <twogilvy@xxxxxxx>
- Date: Thu, 12 May 2005 07:32:36 -0400
Sure, your approach is probably screwed up. when you show useform1 and have
it show userform2 and userform2 then shows userform1 and so on, the original
userform1 has never unloaded since its event hasn't terminated.
In userform1 you should have
Private Sub Commandbutton1_Click()
me.hide
userform2.show
me.show
end Sub
In userform2, the button should unload userform2.
I suspect you have
In Userform1
Private Sub commandButton1_Click()
unload me
Userform2.show
End sub
in Userform2
Private Sub Commandbutton1_Click
unload me
Userform1.Show
End sub
Userform1 can't terminate until userform2 terminates. Userform2 can't
terminate until userform1 terminates. then things start to get screwed up.
--
Regards,
Tom Ogilvy
<john.9.williams@xxxxxx> wrote in message
news:1115896064.940182.139980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> bob,
>
> thanks that works great,
> i am still getting the problem of not being able to select certain rows
> within the listbox, the list box is on userform2 and is accessed from
> userform1, i can go back and forth through the forms and on about the
> third time this happens, any ideas
>
> john
>
.
- Follow-Ups:
- Re: populate a list box with different data
- From: john . 9 . williams
- Re: populate a list box with different data
- From: john . 9 . williams
- Re: populate a list box with different data
- References:
- populate a list box with different data
- From: john . 9 . williams
- Re: populate a list box with different data
- From: Bob Phillips
- Re: populate a list box with different data
- From: john . 9 . williams
- populate a list box with different data
- Prev by Date: Re: Work*** Name in Sequence
- Next by Date: Re: Class group of Textboxes
- Previous by thread: Re: populate a list box with different data
- Next by thread: Re: populate a list box with different data
- Index(es):