+ Reply to Thread
Results 1 to 5 of 5

Option Button _Before Update event linked to Combo box

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    21

    Option Button _Before Update event linked to Combo box

    Hi,

    I have various options buttons (sets of 5 options buttons) linked to each combobox (Yes/No) as shown below in the picture. I want to basically create a loop where i can cycle through the before update event and check whether the corresponding combobox has a "No" value in order to make the options button value=True

    I am currently doing it for each option button ....is there a shorter loop that i can use?




    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Capture.JPG
    Last edited by alansidman; 12-23-2014 at 10:20 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,966

    Re: Option Button _Before Update event linked to Combo box

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    09-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    21

    Re: Option Button _Before Update event linked to Combo box

    Thanks ..sorry about the
    Please Login or Register  to view this content.
    tags ..will keep that in mind in the future.

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

    Re: Option Button _Before Update event linked to Combo box

    I would use a different approach. Enable the OptionButtons only when ComboBox419 <> "False"

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  5. #5
    Registered User
    Join Date
    09-17-2014
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    21

    Re: Option Button _Before Update event linked to Combo box

    Thanks Mikerickson ...this works for me ..thanks for helping!

+ 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] Populating combo box with different lists depending on Option Button selection
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2014, 07:17 PM
  2. Option button linked cells
    By Gethsaine in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-21-2014, 10:21 AM
  3. Auto Update of 'ListFillRange' property & Creation of textboxes at Click Event of a button
    By rahul.kamat01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2013, 06:32 AM
  4. Replies: 3
    Last Post: 07-31-2012, 05:19 PM
  5. Need Help With Linked Option Button
    By Bd_Blues in forum Excel General
    Replies: 0
    Last Post: 02-01-2005, 08:39 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