+ Reply to Thread
Results 1 to 4 of 4

use a command button to click other command buttons

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    jax,fl.
    MS-Off Ver
    Excel 2007
    Posts
    1

    use a command button to click other command buttons

    Hi
    Thanks for taking time to help
    I would like a code that will let
    Command Button1 on click
    To click five other Command Buttons (2-6)
    All Buttons are on same work sheet
    I can make button1 click one other button but not 5 other buttons
    Thanks
    for any Help

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: use a command button to click other command buttons

    hi,

    Why instead of clicking all the button just program the button to execute the code for the other 5.
    Thanks

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: use a command button to click other command buttons

    Quote Originally Posted by fredlo2010 View Post
    Why instead of clicking all the button just program the button to execute the code for the other 5.
    +1 .
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: use a command button to click other command buttons

    you do what they suggested by using the Call command. So if you have a Sub called Test your command would be
    Please Login or Register  to view this content.

+ 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. Master Command Button to call on other Command Buttons located in other Workbooks
    By MrNickRegan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2013, 07:57 PM
  2. Code for a master command button to change the backcolor of multiple command buttons?
    By panttherm5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2012, 10:11 PM
  3. Command Buttons Click Response
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-14-2011, 10:49 PM
  4. command buttons:label of a command button
    By stoney1977 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2008, 07:16 PM
  5. [SOLVED] Command Buttons - can't click or open properties
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2005, 06:06 PM

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