+ Reply to Thread
Results 1 to 3 of 3

How do I hide multiple command buttons on one sheet

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    PA, US
    MS-Off Ver
    Excel 2003
    Posts
    1

    How do I hide multiple command buttons on one sheet

    I am new to VB in Excel and I need to have several command buttons hidden based on cell values

    I can get this to work with either one if pasted separately but I cannot seem to stack the codes under the worksheet - I would like to be able to hide up to 8 or 9 command buttons based on cell values if possible

    Please Login or Register  to view this content.
    Any ideas
    Thanks
    Chris
    Last edited by JBeaucaire; 03-23-2013 at 12:30 PM. Reason: Added CODE tags as per forum rules. Don't forget!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I hide multiple command buttons on one sheet

    I'm thinking this does the same thing:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How do I hide multiple command buttons on one sheet

    Any other questions, Chris? If that worked for you, select Thread Tools from the menu above and set this thread to [SOLVED]. Thanks.

  4. #4
    Registered User
    Join Date
    09-28-2012
    Location
    PA, US
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: How do I hide multiple command buttons on one sheet

    It does work but I do get a runtime error 13 since on of my cell values has a #value when I reset my sheet (I can fix this) It does slow down the reset Macro from about .5 seconds to over 5 seconds.
    Thanks
    Chris

+ 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