ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to unhide rows in Excel form? (https://www.excelbanter.com/excel-discussion-misc-queries/220590-how-unhide-rows-excel-form.html)

mwl

How to unhide rows in Excel form?
 
I'm creating a questionnaire in Excel 2002 and I want to achieve the following:

Ask an initial question, via a form, where the user will answer by selecting a radio button.


Depending upon the radio button selected, I want to ask one or more questions but I don't want these questions to be visible until the original question has been answered.


How can this be done?

Shane Devenshire[_2_]

How to unhide rows in Excel form?
 
Hi,

Yes. You can change the size of the form in response to the
Optionbutton_Click event.

Private Sub OptionButton1_Click()
Me.Height = 200
End Sub

Private Sub OptionButton2_Click()
Me.Height = 100
End Sub

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"MWL" wrote:

I'm creating a questionnaire in Excel 2002 and I want to achieve the following:

Ask an initial question, via a form, where the user will answer by selecting a radio button.


Depending upon the radio button selected, I want to ask one or more questions but I don't want these questions to be visible until the original question has been answered.


How can this be done?



All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com