+ Reply to Thread
Results 1 to 2 of 2

how to link two option buttons with a combobox ?

  1. #1
    Forum Contributor
    Join Date
    05-12-2008
    Location
    Schleswig-Holstein, Germany
    MS-Off Ver
    2010
    Posts
    102

    how to link two option buttons with a combobox ?

    Hello everybody,

    I´m trying to link two option buttons to a Combobox and I´m a bit lost...

    The two option buttons are form elements and the ComboBox is an activex element. It doesnt have to be necessarily like this, actually this could be part of the problem.

    I´ve written the following code and placed it in the VBA Editor under a Sheet Object with the same name of the Excel Sheet where the buttons and the combobox are placed:

    Please Login or Register  to view this content.

    As you can see, my purpose is to load different ranges in the combobox depending on what option is selected.


    The problem is, when I try to link the option buttons to this macro ( Assign macro, contextual-right click menu on the option buttons), the macro name is not displayed as available...I´m quite new at VBA Programming and still lacking of knowledge to understand this simple issue...

    Could please someone here help me?

    Thanks in advance,
    Ruben

  2. #2
    Forum Contributor
    Join Date
    05-12-2008
    Location
    Schleswig-Holstein, Germany
    MS-Off Ver
    2010
    Posts
    102

    Re: how to link two option buttons with a combobox ?

    and here two little screenshots...

    22.07a.png

    22.07b.png

+ 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] Combobox rowsource dependent on option buttons
    By bevc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2016, 07:07 AM
  2. option buttons to determin combobox information
    By hobbsie in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-12-2014, 04:46 AM
  3. Dependent Combobox based on Option Buttons
    By Sway1978 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2013, 04:18 PM
  4. [SOLVED] ComboBox and Option Buttons
    By JimDandy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2013, 11:54 AM
  5. How can I insert multiple sets of option buttons (radio buttons) in Excel 2010?
    By mickwooduclan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2013, 10:01 AM
  6. [SOLVED] Option Buttons to Change ComboBox Values Dynamically
    By Stonesteel15 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-03-2012, 11:48 PM
  7. [SOLVED] Disabling an Entire Frame with Option Buttons if other Option Buttons are not clicked.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-20-2012, 04:07 AM

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