Solved

Excel- Difference between Command Button (Active X Control) and Button (Form Control)

Posted on 2011-03-15
4
1,617 Views
Last Modified: 2012-05-11

I'm working on a few macros in Excel and am using a button to execute them.  Can anyone tell me the difference between using a Command Button (Active X Control) and a Button (Form Control)?
0
Comment
Question by:BBlu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
jkpieterse earned 125 total points
ID: 35145835
The forms buttons are simpler to use and more reliable. The ActiveX one has more formatting options. Also, the click event of a forms button can be any macro located in a normal module, an ActiveX button requires its click event to be in the worksheets module (or in a class module).
It is easy to tie multiple forms buttons to the same macro, you just assign them all to the same. With activex buttons, either each button has its own click event, or you need to write a class module and tie an instance of the class to all buttons.
0
 

Author Comment

by:BBlu
ID: 35151998

Thank you, jkpieterse, for the thorough explanation.  I assume it's safe to say that, when possible, it's better to use form buttons.  Would you say that is true?
0
 
LVL 11

Expert Comment

by:jkpieterse
ID: 35153982
I would, yes. Others may have different opinions!
0
 

Author Closing Comment

by:BBlu
ID: 35249965
Thanks, again.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question