+ Reply to Thread
Results 1 to 10 of 10

Add ActiveX Combo Box input to Named Range

  1. #1
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Add ActiveX Combo Box input to Named Range

    Hello, Been reading up on my problem and cannot find an answer.

    - I have name ranges on a sheet named "Data"
    - As an example one of the ranges is named "Ship_Name"
    - On another sheet named "User_Entry" I have an ActiveX combo box named "Ship_Name"Combi" pointing to the named range stated abover.

    Problem:
    I would like the user to be able to type in a value to the combo box if the desired selection is not there, then when the combo box looses focus, i would like a prompt to ask the user if he'd like to add the entry to the list for future use.

    Here is my current code:
    Please Login or Register  to view this content.
    In the code above, everything works except the addition of the entry to the named list.

    In addition, on a related problem, once I get this working, I'd like to convert it to a function because I will have several ActiveX Combo Box's on the User_Input sheet.
    So far the function code would look like this:

    Please Login or Register  to view this content.
    Anyone that can help would be greatly appreciated.

    Thank you!
    Last edited by dmeinder; 11-17-2011 at 01:28 AM.

  2. #2
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Re: Add ActiveX Combo Box input to Named Range

    Above post edited as requested
    Last edited by dmeinder; 11-17-2011 at 01:39 AM.

  3. #3
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Re: Add ActiveX Combo Box input to Named Range

    Need to bump...Thx

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Add ActiveX Combo Box input to Named Range

    Try this. Also, never use an error statement until the code is working

    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Re: Add ActiveX Combo Box input to Named Range

    That works, but the entry is placed in the wrong cell, strangly it seems to be working with columns rathers than rows. I ran 3 different tests to confirm this.

    Thank you for your help,
    DM
    Last edited by dmeinder; 11-17-2011 at 03:53 AM.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Add ActiveX Combo Box input to Named Range

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  7. #7
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Re: Add ActiveX Combo Box input to Named Range

    Thank you,

    Please see example workbook attached,
    DM
    Attached Files Attached Files

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Add ActiveX Combo Box input to Named Range

    I can't find that combobox

  9. #9
    Registered User
    Join Date
    11-16-2011
    Location
    Alberta
    MS-Off Ver
    2010
    Posts
    15

    Re: Add ActiveX Combo Box input to Named Range

    There are 6 ActiveX combo boxes on the user input page.

  10. #10
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Add ActiveX Combo Box input to Named Range

    I know that but none seem to be the one that you asked about!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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