Question: If necessary, add the Developer tab to the ribbon. Create an absolute macro on the TicketOrder worksheet named ClearData with the capital letter D as
If necessary, add the Developer tab to the ribbon. Create an absolute macro on the TicketOrder worksheet named ClearData with the capital letter D as the shortcut key that will clear the contents of all cells containing data entered by the user. This includes the cell ranges B:B B:B and B:B Select all three ranges in the order given before clearing the contents. Make cell B the active cell after the macro is run.
After creating the macro, click or press the Undo button to undo the change you made.
Add a form control button and assign the ClearData macro to the button. Change the button caption to Clear Data. Test the button.
On the Developer tab, in the Code group, click or press Macros, and then select Edit. Copy the macro code and close the Microsoft Visual Basic for Applications window. Display the Macro worksheet and paste the copied macro code in cell Athere should be lines altogether
On the TicketOrder worksheet, unlock cells A B:B B:B and B:B
From the Format Cells dialog box, hide all cells that have formulas: B B and B
Hide the horizontal and vertical scroll bars. Note, Mac users can skip hiding the scroll bars.
Hide the row and column headers.
Hide the gridlines. Protect the worksheet.
Save the workbook as a macrofree workbook. Mark the workbook as final Mac users, apply the Always Open ReadOnly option
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
