Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Making Frames Visible (or not)

I am working on an application and thought that it would be easy to create a
number of forms on a dialog box with a menu on the top of the dialog box.
Depending on which button was clicked on, a frame would be made ".visible"
and all the other frames would be set to ".visible=false". Once I make the
first frame visible, I don't seem to be able to get that frame to become
invisible and another frame visible. Is there something obvious I'm missing?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Making Frames Visible (or not)

This simple code works

Private Sub CommandButton1_Click()
With Me

.Frame1.Visible = True
.Frame2.Visible = False
.Frame3.Visible = False
.Frame4.Visible = False
End With
End Sub
Private Sub CommandButton2_Click()
With Me

.Frame1.Visible = False
.Frame2.Visible = True
.Frame3.Visible = False
.Frame4.Visible = False
End With
End Sub



--
__________________________________
HTH

Bob

"dunnerca" wrote in message
...
I am working on an application and thought that it would be easy to create
a
number of forms on a dialog box with a menu on the top of the dialog box.
Depending on which button was clicked on, a frame would be made ".visible"
and all the other frames would be set to ".visible=false". Once I make
the
first frame visible, I don't seem to be able to get that frame to become
invisible and another frame visible. Is there something obvious I'm
missing?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I subtract time where hh:mm:ss:ff (frames = 30 frames/sec) KJ7 Excel Discussion (Misc queries) 14 December 3rd 16 10:03 AM
Making visible a picture xavi garriga Excel Discussion (Misc queries) 1 October 11th 07 03:27 PM
Making Sheet Visible Emma Hope Excel Programming 0 March 28th 07 03:02 AM
Making a form visible [email protected] Excel Discussion (Misc queries) 3 March 11th 07 02:28 PM
making a group visible (or not...) Mark J Kubicki Excel Programming 0 August 27th 04 03:24 AM


All times are GMT +1. The time now is 01:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"