Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JT JT is offline
external usenet poster
 
Posts: 234
Default multipage userform question

I have a multipage userform. One of the pages will be used for data entry.

On the main part of the form, I have 2 buttons (Enter & Quit). I would like
to disable thees buttons when I'm on the data entry page but am having
trouble getting started. Any help would be appreciated. Thanks.
--
JT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default multipage userform question

I used the 3rd page as my data entry page:

Option Explicit
Private Sub MultiPage1_Change()
Me.CommandButton1.Enabled = Not CBool(Me.MultiPage1.Value = 2)
Me.CommandButton2.Enabled = Not CBool(Me.MultiPage1.Value = 2)
End Sub



JT wrote:

I have a multipage userform. One of the pages will be used for data entry.

On the main part of the form, I have 2 buttons (Enter & Quit). I would like
to disable thees buttons when I'm on the data entry page but am having
trouble getting started. Any help would be appreciated. Thanks.
--
JT


--

Dave Peterson
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
Multipage on a userform browie Excel Programming 3 June 15th 05 01:34 AM
Multipage Userform Events SA3214 Excel Programming 7 April 13th 05 09:03 PM
Userform, multipage, select a tab Jos Vens[_2_] Excel Programming 2 February 28th 05 04:11 PM
Problems with the userform multipage Wilbo Excel Programming 0 October 19th 04 09:46 AM
MultiPage UserForm Michael J. Malinsky Excel Programming 2 July 16th 03 01:02 PM


All times are GMT +1. The time now is 02:08 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"