+ Reply to Thread
Results 1 to 3 of 3

Hide/Unhide Combo box via command button

  1. #1
    Registered User
    Join Date
    11-22-2008
    Location
    house
    Posts
    68

    Hide/Unhide Combo box via command button

    Hi there

    I am wondering if there is a way to hide a combo when excel is opened then unhide it when a user clicks on a command button. I have searched around for this problem however was unable to find a full answer which worked for me.

    I have attached my sheet below if this helps. I would like to hide the combobox below the Seach Product button, then show the combo box as soon as the user clicks "Search By Product2

    Any help would be great
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hide/Unhide Combo box via command button

    Hi,

    Use an Activex ComboBox rather than a Forms ComboBox.

    Then in the WorkbookOpen event add the line:

    Please Login or Register  to view this content.
    and create a macro attached to the click event of the Search by Product Button

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Hide/Unhide Combo box via command button

    Hi, Try this:- Your Command Button and Active sheet event .
    Regards Mick
    Attached Files Attached Files

+ 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