Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default hiding/disabling areas in user forms

Hi,

How can I hide areas within a Userform, depending on a users response. Also
as part of that I want to disable a question (but still visible) when it has
been answered.

any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default hiding/disabling areas in user forms

Presumably you mean controls. Look at the Enabled and Visible properties of
the controls.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"westg" wrote in message
...
Hi,

How can I hide areas within a Userform, depending on a users response.

Also
as part of that I want to disable a question (but still visible) when it

has
been answered.

any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default hiding/disabling areas in user forms

Hi westg,
You can modify the height of the userform when one clicks on a button.
Example:

Private Sub UserForm_Initialize()
Me.Height = 180
End Sub

Private Sub CommandButton1_Click()
Me.Height = 220
End Sub

Private Sub CommandButton2_Click()
Me.Height = 180
End Sub

MP

"westg" a écrit dans le message de news:
...
Hi,

How can I hide areas within a Userform, depending on a users response.

Also
as part of that I want to disable a question (but still visible) when it

has
been answered.

any ideas?



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 to add numbers from different areas in chart and importing forms from word carole New Users to Excel 1 June 12th 06 12:38 AM
Disabling hiding rows rudy Excel Discussion (Misc queries) 2 May 17th 06 02:42 PM
hiding gridlines in selected cell areas Nong Excel Discussion (Misc queries) 2 July 3rd 05 02:46 AM
Prevent user disabling events JP Farrow Excel Programming 1 September 29th 04 04:49 PM
Prevent user from disabling macros Michael Monteiro Excel Programming 0 August 21st 03 04:28 AM


All times are GMT +1. The time now is 08:38 PM.

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"