+ Reply to Thread
Results 1 to 2 of 2

Showing button based on cell result -

  1. #1
    Registered User
    Join Date
    08-29-2010
    Location
    Oregon
    MS-Off Ver
    Excel 2010
    Posts
    4

    Showing button based on cell result -

    I would like to only show a macro button if a particular cell =0. If it >0 I would like the button to be hidden.

    Pretty sure this is VBA stuff but I haven't had much luck with what I've seen so far.

    I've thought about just having the button invisible and changing the text where the button sits to tell people when to 'click here' (when the cell = 0).

    I'm having some issues with getting the button to click though when I set visible=false.

    If I set visible=false and I click on the place where the button was I end up clicking into the text box for that cell and the button does nothing.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Showing button based on cell result -

    Using an Active-X command button, you could use this code in the worksheet_change event.
    Adjust the cell reference as needed.

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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