+ Reply to Thread
Results 1 to 8 of 8

Excel ActiveX ListBox Does Not Enable

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    6

    Excel ActiveX ListBox Does Not Enable

    Hello,

    Can someone help me with this weird behavior?

    I have a template that has three combo boxes and a listbox. The functionality is to select values for the combo boxes
    and after selection for the third combo box the listbox populates with a couple of default values. Then the user goes on to double click
    the first value in the list box (1stlistbox_Dbclick event fires) and the children of the first default value populates and goes on selecting with the desired value.

    The list box is populated with the default values except that it is not enabled/activated to double click. While I was trying to troubleshoot I observed that if I go to design mode and come back the listbox activates and thereafter everything works as expected.

    I have four templates with the same code and the same funcationality but only two of them show such behaviour.

    P.S These were built using Excel 2003 and now I am working on 2007.

    Please Login or Register  to view this content.
    Last edited by xlbee; 08-23-2013 at 11:07 AM. Reason: Spell Check

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel ActiveX ListBox Does Not Enable

    At the end of the InitList subroutine, try placing the following line of code:
    Please Login or Register  to view this content.
    If this doesn't work, could you please upload your workbook so that I may take a look at your code in context, and also include instructions for how to replicate the issue that you are experiencing.

    Thanks Hope this helps!

  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Excel ActiveX ListBox Does Not Enable

    Hi ajryan88,

    Thanks for your reply and appreciate your help.

    I have tried that earlier but I see the same behavior and I cannot really upload the workbook here since it is too sensitive.

    One more thing I observed was the original workbook that was passed to me works with no issues but as soon as I do a Save As on my local computer this issue comes up. Does it have to do with the 2003-2007 compatability?

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel ActiveX ListBox Does Not Enable

    If that is what you are observing then it is definitely a compatibility issue.

    Sorry to be the bearer of bad news

  5. #5
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Excel ActiveX ListBox Does Not Enable

    Any suggestion in overcoming the compatibility issues?

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel ActiveX ListBox Does Not Enable

    Rewrite in Excel 2007...?

  7. #7
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Excel ActiveX ListBox Does Not Enable

    Hi ajyran88,

    Sorry couldn't reply to you earlier.

    I have re-written this particular part of the workbook from scratch in Excel 2007 and the functionality works with no issues. Looks like I have to re-write the whole workbook .

    Thanks again for your help .

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Excel ActiveX ListBox Does Not Enable

    No problems, happy to help

+ 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. vba code to enable activex and macros automatically ??
    By mabughazza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-21-2013, 07:04 AM
  2. [SOLVED] Enable an ActiveX macro button (Should be simple)
    By Gard5096 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2012, 03:48 PM
  3. ListBox - Form vs ActiveX
    By Roseus in forum Excel General
    Replies: 4
    Last Post: 12-29-2010, 11:55 AM
  4. Help with Excel ActiveX listbox controls
    By programmer123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2005, 05:23 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