Question: Running a Macro ( Skill 1 0 . 4 ) Adding a Macro to a Form Button Control ( Skill 1 0 . 8 )
Running a Macro Skill
Adding a Macro to a Form Button Control Skill
Open the start file EXFixlt and resave the file as: your initials EXFixlt
If the workbook opens in rotected View, click the Enable Editing button in the Message Bar at the top of the workbook so you can modify it
Display the Developer tab. If you already have the Developer tab enabled, skip to step
The workbook contains a macro named Scholarships to calculate the number of scholarships in the table named ScholarshipSummary. The keyboard shortcut is CtrlShiftS If you run the macro, you'll find there is an error. Fix the error, and then run the corrected macro.
a When you try to run the macro, a message box should appear telling you that there is an applicationdefined or objectdefined error. This means there is a problem with the macro code. Click the Debug button to open the Visual Basic Editor with the first line containing an error highlighted. Fix the error. Hint. The table name is incorrect in the highlighted line of code the tenth line The table name is ScholarshipSummary not Table
b Save your changes, and then close the VBE window. A message will appear telling you that closing the VBE window will stop the debugger. Click OK
c Run the modified macro to test your work and continue debugging the macro until all the table name errors have been fixed.
The macro does not include a calculation to find the number of education majors cell D Edit the VBA code for the Scholarships macro subroutine procedure to include this calculation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
