+ Reply to Thread
Results 1 to 3 of 3

ensure user selects radio button before adding information

  1. #1
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    430

    ensure user selects radio button before adding information

    Good Afternoon folk

    I have a userform for inputing information to a spreadsheet using the code below. It works fine however if the user does not select a radio button to select a score its saving the rest without it. How can I ensure the user selects a score,,,, ob10, ob8, ob6, ob4, ob2, obna

    Please Login or Register  to view this content.
    Many thanks for your help
    Last edited by JamesT1; 05-27-2014 at 10:02 AM.

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: ensure user selects radio button before adding information

    Please Login or Register  to view this content.
    If you have more than one group of optionbuttons, then you could test for control names.
    Please Login or Register  to view this content.
    You can always set a optionbutton as a default when the userform starts.
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Forum Contributor
    Join Date
    08-04-2008
    Location
    West Calder, Scotland
    MS-Off Ver
    365
    Posts
    430

    Re: ensure user selects radio button before adding information

    Tinbendr

    this is right on the button and exactly what I require, many thanks for your help, much appreciated

    for anyone who needs something similar,,, this is the adjusted code

    Please Login or Register  to view this content.

+ 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. [SOLVED] Is there a way to add a button that selects the next checkbox in a row?
    By R_Bish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-04-2014, 05:42 PM
  2. Replies: 3
    Last Post: 08-28-2013, 05:39 AM
  3. Prompting User to Select Radio Button
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2011, 06:48 PM
  4. to ensure all radio button groups are used before moving on.
    By lrm75uk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2010, 08:20 AM
  5. Pressing one radio button to select another radio button
    By raehippychick in forum Excel General
    Replies: 1
    Last Post: 09-13-2007, 11:30 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