How can I create button in excel and apply Macro to it?

Answer Posted / rahul

In Excel 2003 and in earlier versions of Excel, click Option Button on the Forms toolbar, and then draw the outline of the button on the sheet.

In Excel 2007, click Option Button (form control) on the Quick Access Toolbar, and then draw the outline of the button on the sheet.
Select any cell in the worksheet.
In versions of Excel that are for Microsoft Windows, right-click the option button, and then click Assign Macro.

In versions of Excel that are for Macintosh, press COMMAND while you click or press CTRL while you click, depending on your operating system version. Then, click Assign Macro.
In the Assign Macro dialog box, click the name of the macro that you want to assign to the option button, and then click OK.
When you click the option button, the macro will run.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain structural testing?

859


Is it true that we can do system testing at any stage?

783


Why we need localization testing?

877


Explain installation testing?

852


What are the two parameters which can be useful to know the quality of test execution?

1267


What is interface analysis?

911


Explain a variable?

767


What is independent test group (itg)?

1088


Explain stress testing?

809


What are the types of defects?

908


Explain glass box testing?

841


Explain inputs?

781


what is the difference between 8.2 and 9.2 versions of qtp tool

1900


What is difference between validation and verification?

792


What is the boundary value analysis/testing?

838