Question: 1 Open the Excel workbook Excel _ 9 E _ DLP _ Accounting _ as . xlsx downloaded with this project. Ensure that the Developer
Open the Excel workbook ExcelEDLPAccountingasxlsx downloaded with this project. Ensure that the Developer tab is enabled.
On Sheet with cell A selected, begin to record a macro. Name the macro as AccountingMacro and assign CTRLr as the Shortcut key. Do not close the Macro dialog box. Mac users, assign OPTIONCMDr
Store the macro in this workbook, and enter the text Fills in report heading as the description. Close the dialog box. While recording the macro, be sure to follow the steps exactly as specified. Do not switch between windows or worksheets in between steps.
In Sheet in recording mode, insert two blank rows, one at a time, at the top of the worksheet.
In cell A type DLP Accounting. Merge and center the text you just typed across the range A:E and then apply the Title cell style.
In cell A type Quarterly Report. Merge and center the text you just typed across the range A:E and then apply the Heading cell style.
Center the worksheet horizontally, click cell A and then stop recording the macro. Delete rows : return to cell A press CTRLR to run the macro and ensure that the macro works as expected.
In the Microsoft Visual Basic for Applications window, copy the entire AccountingMacro macro including the Sub statement to the End Sub statement. Paste the code into cell A of Sheet
In the Microsoft Visual Basic for Applications window, in the fourth line following the first End With, edit Quarterly Report to indicate Quarterly Operations Report.
On Sheet delete rows : return to cell A press CTRLR to run the macro again and ensure that the macro works as expected.
In the Microsoft Visual Basic for Applications window, copy the AccountingMacro code between the first End With and the second With. There should be five lines of code, including the line that you changed. Paste the code into cell A of Sheet The VBA code should display in cells A:A when pasted.
Save the macroenabled workbook as an Excel workbook, using the same file name. Click Yes to save it as a macrofree workbook. Submit the file for grading.
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
