Private Sub Command1_Click()
Frame2.Visible = False
Frame1.Visible = True
End Sub
Private Sub Command2_Click()
Frame1.Visible = False
Frame2.Visible = True
End Sub
and it works OK. Does this work for you? If not is there something else in your code?
I'm sure you checked that frame2 isn't inside frame1. You need to add the frames separately on different parts of the form then overlap them afterwards.
Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
algomes, I do not mean to insult you but are you sure you don't have frame2 inside of frame1? If you do and you set frame1.visible to false frame2.visible = true will not do anything. Just a thought. If you choose to battle wits with the witless be prepared to lose.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.