+ Reply to Thread
Results 1 to 6 of 6

Unable to Select ListBox Items

  1. #1
    Registered User
    Join Date
    09-16-2013
    Location
    San Francisco, California
    MS-Off Ver
    Excel 2010
    Posts
    12

    Unable to Select ListBox Items

    Hi everyone,
    I have a worksheet with a few "Multi-Select" type listboxes in it. I cannot seem to select the items within those listboxes... the mouse icon doesn't even change, it just shows that little plus-sign that is the default when you're just in your worksheet. (they're also ActiveX listboxes)

    I can select them if I go into my Developer tab and select and deselect the "Design Mode" button. then everything works fine (mostly). Or if I resize the subwindow for the workbook. Then it (again, mostly) works fine.

    It's like I have to trick Excel into allowing me to click on the checkboxes in my ListBox.

    Some people I've given the file to use Excel 2007 and the file works for them. (I have Excel 2010)

    I've looked up info on bound/unbound forms, but I can't tell if it applies, or how to use that.
    They were not created with a VBA macro, they were made using the buttons in the developer tab.

    One final thing (if it helps):Below the listboxes, I have some shapes that, when pressed, will take the selected items from their respective checkboxes and put them into some cells.

    Here is the file:
    Setup form_Blank.xlsm

    Thank you all so much!!
    Last edited by esvenk; 02-12-2014 at 11:21 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Unable to Select ListBox Items

    Quote Originally Posted by esvenk View Post
    I can select them if I go into my Developer tab and select and deselect the "Design Mode" button.
    That's your problem, right there. You can't use controls embedded in a worksheet if Design Mode is on. It's so you can manipulate the controls for design purposes without activating them.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Unable to Select ListBox Items

    I think ActiveX and freeze panes does not work so well. You may use Forms controls instead - I have put in attachment.
    Attached Files Attached Files
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  4. #4
    Registered User
    Join Date
    09-16-2013
    Location
    San Francisco, California
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Unable to Select ListBox Items

    Quote Originally Posted by 6StringJazzer View Post
    That's your problem, right there. You can't use controls embedded in a worksheet if Design Mode is on. It's so you can manipulate the controls for design purposes without activating them.
    But I have design mode off and it still doesn't work when I first open the file. I open it, see that it doesn't work, and then toggle the design mode first to on and then off again before they'll work.
    Last edited by esvenk; 02-12-2014 at 11:24 AM.

  5. #5
    Registered User
    Join Date
    09-16-2013
    Location
    San Francisco, California
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Unable to Select ListBox Items

    Izandol---This works great!!! Thank you so much!!
    Although I don't think it was the freeze panes that did it, the ActiveX controls were messing up even before I put those on. Weird.
    Oh well, the good ol' Forms Controls works great! In fact all I needed to do with your file was to make them 'Multi', instead of 'Extended' (just in case anyone with the same problem comes across this post).

    Thank you so much!
    Last edited by esvenk; 02-12-2014 at 11:22 AM.

  6. #6
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Unable to Select ListBox Items

    You are welcome.

    For me, removing freeze panes had same effect as switching Design mode button.

+ 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. Select & edit items in a listbox in VBA
    By poppy in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2014, 04:47 PM
  2. [SOLVED] Auto select items in a Listbox with items from another Listbox
    By perducci in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-22-2013, 04:45 PM
  3. Multi select Listbox Items selection based on other Listbox item selection.
    By srinivassathi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2011, 05:53 AM
  4. Listbox Select items with Keyboard.
    By Casey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2006, 03:26 PM
  5. Select multiple listbox items and pass to an array
    By golzilla in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2005, 05:49 PM

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