+ Reply to Thread
Results 1 to 8 of 8

ComboBox Fails When Columns Are Hidden

  1. #1
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    ComboBox Fails When Columns Are Hidden

    Please see two attached files.

    Combo Box Example1.xlsm works perfectly.
    Combo Box Example2.xlsm does not work at all because the columns used by the ComboBox are hidden.

    Here is the code:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    My question: What must be done to allow the ComboBox to work while the color columns are hidden?

    Your suggestions will be most appreciated!

    tom
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: ComboBox Fails When Columns Are Hidden

    why don't you just add some code to un-hide the columns then hide them again when you are finished?

  3. #3
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Re: ComboBox Fails When Columns Are Hidden

    That's a thought, Sc0tt1e. But if there is a simple tweak of the properties or something, I would rather do that.

  4. #4
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: ComboBox Fails When Columns Are Hidden

    Sorry, I don't know of anything the properties could do to resolve this issue

  5. #5
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: ComboBox Fails When Columns Are Hidden

    It was not the Autofilter that went wrong but the Find-method.
    Here you go.

    Please Login or Register  to view this content.
    Last edited by bakerman2; 08-22-2017 at 05:10 PM.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  6. #6
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: ComboBox Fails When Columns Are Hidden

    I tried this and it worked perfectly

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Re: ComboBox Fails When Columns Are Hidden

    Thanks to ScOtt1e and Bakerman2!

    There is indeed more than one way to skin a cat.

    Thanks again for the help; I really appreciate it.

    tom

  8. #8
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: ComboBox Fails When Columns Are Hidden

    You're welcome and thanks for rep+.

+ 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] Automation Error - Data Returned from Visible Row Fails to Load to Form Combobox
    By Southfish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2015, 04:12 PM
  2. Replies: 0
    Last Post: 01-15-2014, 05:17 PM
  3. Custom Function Fails When Row Hidden
    By tenjin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2013, 06:41 AM
  4. Replies: 0
    Last Post: 09-13-2012, 11:10 AM
  5. Find method fails in hidden range
    By Rick Hansen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2006, 06:00 PM
  6. [SOLVED] ComboBox fails when last item selected first
    By MBlake in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2005, 03:05 PM
  7. Keeping Hidden Rows/Columns Hidden?
    By DMac in forum Excel General
    Replies: 0
    Last Post: 01-17-2005, 08:13 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