+ Reply to Thread
Results 1 to 5 of 5

Enable an ActiveX macro button (Should be simple)

  1. #1
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Post Enable an ActiveX macro button (Should be simple)

    Hello,

    I created a button in excel and programmed a simple macro into it. The problem is, I am not sure how to make it active on the excel worksheet.... whenever i click on the button, it just brings up the code in VBA. How do i activate/deactivate the button as needed? Is there a binary switch somewhere?


    Thank you,

    Nick

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Enable an ActiveX macro button (Should be simple)

    Hello Nick. If by "active" you mean 'run the macro', you first have to assign a macro to the button. Right click it, click 'Assign Macro' and then in the macro list that is displayed, click the macro you want the button to run. Click 'OK' and now the macro will run when you click the button.

  3. #3
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Re: Enable an ActiveX macro button (Should be simple)

    That is an option for the Command Button, only for form controls.

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Enable an ActiveX macro button (Should be simple)

    Gard5096,

    You're probably stuck in Design View. Go to the Developer tab and click on "Design View" to toggle it on/off
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Re: Enable an ActiveX macro button (Should be simple)

    Ahhhhh thats what I was looking for!! Thank you for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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