+ Reply to Thread
Results 1 to 6 of 6

‘How to hide command button based on another cell - Additional buttons?’

  1. #1
    Registered User
    Join Date
    12-11-2013
    Location
    Melbourne AUSTRALIA
    MS-Off Ver
    Excel 2013
    Posts
    16

    ‘How to hide command button based on another cell - Additional buttons?’

    I came across an old thread by martindwilson (full credit to him) ‘How to hide command button based on another cell?’ (http://www.excelforum.com/excel-prog...ml#post3561021).

    This works faultlessly but for only 1 Button. I tried adding in the code again for a second Button but it creates a conflict. I made a slight adjustment to your original code, to show the button when the cell is populated, which works well…

    Please Login or Register  to view this content.
    Does anyone know a way I can:-

    1. Add additional buttons which reference their own cell?

    CommandButton4 – H9
    CommandButton6 – I9
    CommandButton2 – Q9
    CommandButton3 – S9

    2. And add one button which activates based on one of 3 cells?

    CommandButton1 – J9 &/or V9

    Any assistance would be greatly appreciated as I am a VBA novice.

    http://www.ozgrid.com/forum/showthread.php?t=185711
    Last edited by tittbb; 01-28-2014 at 07:11 AM.

  2. #2
    Registered User
    Join Date
    12-11-2013
    Location
    Melbourne AUSTRALIA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: ‘How to hide command button based on another cell?’

    Thanks for the heads up, all done. I didn't know how to wrap...

  3. #3
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: ‘How to hide command button based on another cell - Additional buttons?’

    Also posted: www.ozgrid.com/forum/showthread.php?t=185711

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: ‘How to hide command button based on another cell - Additional buttons?’

    Thanks Cytop.

    So we have one more problem here.

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    12-11-2013
    Location
    Melbourne AUSTRALIA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: ‘How to hide command button based on another cell - Additional buttons?’

    Thanks of the information. I'm new to forums and so not intentionally meaning to break the rules but just learning the ropes...

  6. #6
    Registered User
    Join Date
    12-11-2013
    Location
    Melbourne AUSTRALIA
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: ‘How to hide command button based on another cell - Additional buttons?’

    Solution no longer required. I reused the same format for CommandButton(s) within the routine which worked.
    Last edited by tittbb; 02-02-2014 at 03:45 AM.

+ 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. How to hide command button based on another cell?
    By proepert in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-27-2014, 09:28 AM
  2. Hide/Unhide Command Button based on multiple cell values
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-05-2011, 09:03 PM
  3. [SOLVED] Hide/Show Command button based on cell value
    By paxile2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2010, 08:59 AM
  4. Hide display command button based on conditions
    By mrdata in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-30-2007, 11:16 AM
  5. [SOLVED] How do I hide a command button based on a condition?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2006, 09:50 AM

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