+ Reply to Thread
Results 1 to 6 of 6

How to count score using option button in userform

  1. #1
    Registered User
    Join Date
    06-23-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    5

    How to count score using option button in userform

    Hi, i am trying to make a Score Sheet Form using option button.
    Can anyone Hint/Help Me. how to assign number to these buttons. and all option must be picked.

    Thanks
    Attached Files Attached Files
    Last edited by Paltalk; 07-22-2022 at 03:10 PM.

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

    Re: How to count score using option button in userform

    I have attached a solution that I gave in the past, you may be able to see how this scores.
    It is an 'elastic' - self expanding 'Likert' type questionnaire - to expand simply insert another block (10) additional questions into Sheet1.
    If your UserForm is of fixed format I will look at that later today and try to give a response.
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    06-23-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    5

    Re: How to count score using option button in userform

    thanks for quick response torachan, i will try to get help from your solution till i find proper result.

  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: How to count score using option button in userform

    As promised looked at your specific sheet.
    The solution provided uses the 'group' condition to separate the 'option button' and uses the 'tag' condition to assign a value to the relative option buttons.
    To intercept the 'click' event of the 'option buttons' I have created a 'Class Module' which fires each time an 'Option Button' is clicked and calculation is then done 'on the fly'.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-23-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    5

    Re: How to count score using option button in userform

    WoW Awesome torachan
    Thank you for taking the time and looking for sheet. Always something new to learn by your solutions.
    these kind of solution inspire me to learn excel more. Have A Wonderful Weekend.

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

    Re: How to count score using option button in userform

    glad to have helped - thanks for the feedback and the added rep point.
    Excel is like opening 'Pandora's box' - full of interesting ideas.

+ 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. UserForm Option Button do this
    By tobias1010 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2019, 03:37 PM
  2. userform option button
    By Bill1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2019, 04:28 PM
  3. Replies: 6
    Last Post: 07-15-2017, 09:54 AM
  4. UserForm option button bug?
    By aarona in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2017, 04:03 AM
  5. UserForm Option Button Help...
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2013, 10:17 PM
  6. Userform option button help
    By mecharissa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2012, 04:48 AM
  7. Userform Option Button to Show/Hide Another Option Button on same Userform
    By R_S_6 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2010, 09:44 AM

Tags for this Thread

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