+ Reply to Thread
Results 1 to 3 of 3

Fields that conditionally appear

  1. #1
    Registered User
    Join Date
    10-26-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    11

    Fields that conditionally appear

    I want to have certain fields in my userform appear only if previous certain values in a previous field have been selected.

    For example:
    If the user selects 'March','April',or'May' to the question "What month were you born in?"

    Then I would like a question to appear on the userform that asks "Do you like Spring?". If the user selects any other month, I would not like this field/question to display. How would this be accomplished?

    I have looked into conditional formatting, but I usually only come across issues regarding color coding and the like. The help is appreciated, I have been teaching myself VBA these past few days.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Fields that conditionally appear

    I would put a label (Label2) and two option buttons (obtYes and obtNo) in a Frame and then control the .Visible property of the frame.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mikerickson; 10-26-2013 at 03:15 PM.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    10-26-2013
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Fields that conditionally appear

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy Excel data to Word fields and retain fields
    By GCW esq in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-06-2012, 10:31 AM
  2. How to Disable automatic fields in pivot table like total and count on fields
    By anushka in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2009, 07:53 AM
  3. Differentiate between column fields and data fields in a pivot table
    By whiteheadw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2009, 01:59 PM
  4. Changing numbes in text fields into numbers in number fields
    By freaksareus in forum Excel General
    Replies: 4
    Last Post: 10-23-2008, 05:47 AM
  5. Excel SHOULD NOT AUTO-CHANGE formated text fields to DATE FIELDS!
    By PSSSD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2006, 04:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1