Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 On the TicketOrder worksheet, use Trace Precedents to illustrate the formula error in cell B21. Correct the formula in cell B21 by entering the

2

On the TicketOrder worksheet, use Trace Precedents to illustrate the formula error in cell B21. Correct the formula in cell B21 by entering the correct cells (the formula should multiply the Number of tickets by the Cost of Ticket). Using the formula created in cell B21, add an IFERROR formula to display a blank cell if there are no results.

3

Add data validation to cell B4 that allows only the current date. The =TODAY() function should be used. Enter the Input Message Title Date Enter the Message Enter todays date. (type the period). Enter the Error Alert Title Error Enter the Error Message Date must be todays date. (type the period). In cell B4, enter =TODAY().

4

Add data validation to cell B5 so that only a time between 9:00 AM and 4:00 PM can be entered. Enter the Input Message Enter the time in the HH:MM AM/PM format. Enter the Error Message Time must be between 9:00 AM and 4:00 PM. In cell B5, type 2:00 PM

5

Add data validation to cell B6 to look up a list of names from the Employees worksheet. Enter the Input Message Choose an employee name from the list. In cell B6, select Ned.

6

Add a formula to cell B7 that creates an Invoice Number from the date, the time, and the ID number on the Employees worksheet for the employee listed in cell B6. The formula will include an IF function, the TEXT function, and a VLOOKUP function. For the logical test is testing if cell B4 is greater than 0. If the result of the test is true, then TEXT(B4,"YYYYMMDD"),"")&" "&IF(B5>0,TEXT(B5,"HHMM"),"")&" "&IF(B6>0,VLOOKUP(B6,Employees!A2:B6,2) If the result of the test is false, then return a blank.

7

Add data validation to cell B18 so only a whole number between 1 and 25 can be entered in the cell. Enter the Input Message Enter a number between 1 and 25. (type the period). In cell B18, type 4.

8

Add data validation to cell B19 to look up a list of ticket locations from the TicketData worksheet. Enter the Input Message Select a location from the list. In cell B19, select Balcony Front.

9

Insert a hyperlink in cell A17 on the TicketOrder worksheet that links to cell A8 of the TicketData worksheet. Add the ScreenTip Go to Ticket Data Insert a hyperlink in cell A8 on the TicketData worksheet that links to cell A17 of the TicketOrder worksheet. Add the ScreenTip Go to Ticket Order

10

If necessary, add the Developer tab to the ribbon. Create an absolute macro on the TicketOrder worksheet that will clear the contents of all cells containing data entered by the user. This includes the cell ranges B4:B6, B10:B15, and B18:B19. Select all three ranges before clearing the contents. Make cell B4 the active cell after the macro is run. Name the macro ClearData and assign the letter d as the shortcut key. After creating the macro, click 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 captions to Clear Data. Test the button.

11

On the Developer tab, in the Code group, click Macros, and then click Edit. Copy the macro code and close the Microsoft Visual Basic for Applications window. Click the Macro worksheet and paste the copied macro code in cell A1 (there should be 11 lines altogether).

12

On the TicketOrder worksheet, unlock cells A17, B4:B6, B10:B15, and B18:B19.

13

From the Format Cells dialog box, hide all cells that have formulas: B7, B20, and B21.

14

Hide the horizontal and vertical scroll bars. Note, Mac users can skip hiding the scroll bars. Hide the row and column headers.

15

Hide the gridlines. Protect the worksheet.

16

Save the workbook as a macro-free workbook. Mark the workbook as final.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

A B D E F G H 1 J 1 Ticket Order Form 2 3 Invoice Information 4 Invoice Date 5 Invoice Time 6 Taken By 7 Invoice Number 8 9 Customer Information 10 Customer Name 11 Address 12 City 13 State 14 Zip #VALUE! 15 Phone 16 17 Ticket Information 18 Number of tickets 19 Ticket Location 20 Cost of Ticket 21 Total Invoice Amount 22 23 24 25 26 27 28 29 30 31 32 33 TicketOrder TicketData Employees Macro + LO D E F G H A B 1 Ticket Location 2 Balcony Back $ 15.00 3 Floor Back $ 20.00 4 Balcony Front $ 25.00 5 Floor Middle $ 30.00 6 Floor Front $ 35.00 7 8 Back to TicketOrder 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 TicketOrder TicketData Employees Macro + D E F G H A B 1 Employees 2 Jill 452 3 Leslie 652 4. Mark 854 5 Ned 659 6 Phillip 554 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 TicketOrder TicketData Employees Macro + EO A B C D E F G H . 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 TicketOrder TicketData Employees Macro a FO

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions