+ Reply to Thread
Results 1 to 4 of 4

Hide/Show Command button based on cell value

  1. #1
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Hide/Show Command button based on cell value

    I am trying to write a code that allows a command button to be hidden on spreadsheet till a value of cell is displayed.

    here is an example to the code:

    Please Login or Register  to view this content.
    The button still remains visable regardless of cell value that is am using as a reference "A1". As a side note, I am also looking at a way to add additional command buttons that will follow the same idea just different conditions. Any help would be appreciated. Thankyou in advance
    Last edited by paxile2k; 01-12-2010 at 09:27 PM. Reason: missing info

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Hide/Show Command button based on cell value

    um... what are you stuck on?

  3. #3
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: Hide/Show Command button based on cell value

    I am not sure on what coding is used to have the button be hidden, the code looks fine, but it does not work.
    Last edited by paxile2k; 01-12-2010 at 09:27 PM.

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Hide/Show Command button based on cell value

    The code appears to be from a useform activate event, but the code appears to relate to a forms commandbutton (which is on a sheet, perhaps).

    Post an example and I'm sure we'll be able to help.

    CC

+ 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