+ Reply to Thread
Results 1 to 6 of 6

Option button (Form control) problem

  1. #1
    Registered User
    Join Date
    03-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    23

    Question Option button (Form control) problem

    Hello All,

    I am trying to prepare test paper in excel. Each question is having four options. Now, my problem is if I change cell link for 2nd question's options, 1st question's options cell link changes automatically. I tried to search in google & I came to know that I should use grouping but some it is also not working for me.

    What I am missing here??

    In short, If I change cell link for 1 question....all questions cell link changes even after grouping all question's options.

    Please help.

    Thanks,

    vipati

  2. #2
    Registered User
    Join Date
    06-06-2012
    Location
    Leeds, United Kingdom
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    40

    Re: Option button (Form control) problem

    Can you upload an example?
    I am not sure if you are using VBA?
    www.leansoftware.net

  3. #3
    Registered User
    Join Date
    03-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Option button (Form control) problem

    Hello richard.briggs,

    Thanks for your quick reply..Please find attached sample file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-06-2012
    Location
    Leeds, United Kingdom
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    40

    Re: Option button (Form control) problem

    Hi
    you have to draw a Group Box (from the Insert controls - form controls menu) around each set of controls.
    I have an example - but I can't see how I attach a file here.

    EDIT : Attached file
    Attached Files Attached Files
    Last edited by richard.briggs; 05-15-2014 at 04:32 AM. Reason: attach

  5. #5
    Registered User
    Join Date
    03-01-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Option button (Form control) problem

    Hello Richard.briggs,

    Thank you very much for you help again. I tried to do the task by adding group boxes & it's working fine now.

    But, still I am having one problem...I want that group boxes lines to be invisible. I tried to search in google & I got below VBA code & it is also working fine but Is there any easy way to hide that lines?

    activesheet.group boxes.visible = false

    Well, Thanks again for your precious help...reputation is added

    Regards,

    Vipati

  6. #6
    Registered User
    Join Date
    06-06-2012
    Location
    Leeds, United Kingdom
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    40

    Re: Option button (Form control) problem

    Sure, just place the VBA code into the Workbook_Open event:
    HideBoxes.png
    Last edited by richard.briggs; 05-15-2014 at 05:17 AM. Reason: Open Event

+ 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. Option Button (Form Control) - Different Entries
    By NeedForExcel in forum Excel General
    Replies: 5
    Last Post: 02-11-2014, 09:48 AM
  2. [SOLVED] Linking Option Button(Control Form) to Shapes
    By Heva in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-17-2013, 05:24 AM
  3. Hide a picture button placed in all sheets using a option button (form control)
    By lagaranch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-26-2012, 10:33 AM
  4. [SOLVED] Call Form Control Option Button within an If statement
    By SonOfOdin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-03-2012, 02:23 PM
  5. Form Control Option Button Code
    By Boston in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2010, 02: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