+ Reply to Thread
Results 1 to 5 of 5

Frame with OptionButtons to Spreadsheet

  1. #1
    Registered User
    Join Date
    04-20-2021
    Location
    Wisconsin
    MS-Off Ver
    Office 365
    Posts
    9

    Frame with OptionButtons to Spreadsheet

    Hi Everyone

    I have a Userform that has a frame with option buttons. Whatever option is picked, I want whatever option is selected to be entered into column7 of sheet1 (in the correct row) when clicking the submit button. I have been unable to find what I want online.

    Attached is the Workbook.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Frame with OptionButtons to Spreadsheet

    First change the names of the optionbuttons to the original, so
    OptionButton1, OptionButton2, OptionButton3, and so on

    code for button

    Please Login or Register  to view this content.
    Kind reards
    Leo
    Attached Files Attached Files

  3. #3
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Frame with OptionButtons to Spreadsheet

    Hi there,

    See if the following version of your "SubmitCB_Click" routine does what you need:

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Frame with OptionButtons to Spreadsheet

    See if the attached works for you.
    torachan.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-20-2021
    Location
    Wisconsin
    MS-Off Ver
    Office 365
    Posts
    9

    Re: Frame with OptionButtons to Spreadsheet

    Thank you LeoTaxi, this worked perfectly


    Thank you all for the help and your time.

+ 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. how to convert Drop-Frame timecode (DFTC) to frame count and back
    By Digitalmunky in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 09-25-2019, 08:52 PM
  2. Private sub textbox1_exit in a frame/not in a frame, different behavior?
    By ualdriver in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2015, 09:14 AM
  3. [SOLVED] selecting multiple optionbuttons within frame help
    By nvandyken in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-20-2015, 11:31 AM
  4. [SOLVED] Looping through controls by frame on userform (frame within a frame)
    By njs27 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2015, 10:21 AM
  5. Grouping Optionbuttons on the Spreadsheet (Not on a Form)
    By dwinmac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-13-2008, 06:24 PM
  6. 2 OptionButtons in the same Frame
    By olio39 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-27-2007, 09:38 AM
  7. [SOLVED] Frame on spreadsheet
    By Gary Labowitz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2005, 01:05 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