+ Reply to Thread
Results 1 to 4 of 4

Command Buttons in Cell

  1. #1
    Registered User
    Join Date
    10-04-2006
    Posts
    7

    Command Buttons in Cell

    How do you create a command buttom in a cell that when press will acivate a mcaro that related to the the VBA sub CommandButton() ? I saw one in a spreadsheet but do not know how the buttons is created.

    Thanks

    oht

  2. #2
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193
    1. Right click on any toolbar.
    2. Goto Customize
    3. Click on the Commands tab
    4. Under Categories, select Forms
    5. Under Commands, click and drag the button icon to any spot on your toolbar(s).
    6. Click Close
    7. Click on the newly added button icon.
    8. Click and drag the size of your new button onto the spreadsheet.
    9. After that you should be able to choose which macro to execute whenever you press that button.

    I hope this helps!
    starryknight64

  3. #3
    Registered User
    Join Date
    10-04-2006
    Posts
    7
    It sure worked. Saving me pulling all my hair off. Thank you very much.

    Regards

    oht

  4. #4
    Forum Contributor starryknight64's Avatar
    Join Date
    09-27-2006
    Location
    Missouri
    MS-Off Ver
    2003 (Work) & 2007 (Home)
    Posts
    193
    Not a problem! After all, we don't want bald excel users!

+ 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