Exp19_Excel_Ch12_ML2_Travel_Expense

 Exp19_Excel_Ch12_ML2_Travel_Expense 

 Exp19 Excel Ch12 ML2 Travel Expense 

 Excel Chapter 12 Mid-Level 2 – Travel Expense 

  

Project Description:

You are a financial analyst for VJD Financial, a wealth management company with 10 offices located across the United States. Currently your traveling account executives send receipts through inner office mail to document their travel expenses. You want to create a template to standardize the documentation process. To minimize the amount of development time required, you will download and edit an existing template from Office.com. You will customize the template by editing fields, adding comments, and creating a custom function using VBA.

     

Start Excel. Download and open   the file named Exp19_Excel_Ch12_ML2_HW_TravelExpense.xlsx.   Grader has automatically added your last name to the beginning of the   filename.

 

Select the range A1:J16 and   clear all data validation that was included in the worksheet.

 

Click cell B7 and type Mileage Rate

 

Click cell C7, click Align Left   in the Alignment group, and type .25.

 

Insert a column after column D.   Name the column Miles.

 

Use the VBA Editor to create a   custom function named Mileage. Type the following code to create the custom function.
 

Function   Mileage (Miles,Rate)
 

‘Creates   custom Mileage function
 

Mileage   = Miles * Rate

 

Exit the VBA Editor and click   cell F11. Type =IFERROR(Mileage(, click cell E11, type , and then click cell C7. Press F4, and type ), 0). Press ENTER to complete the   function. 

 

Click cell E10 and add the   comment Enter miles driven. 

 

Insert a new worksheet named Code.

 

Open the VBA Editor, open module   1, and copy the code. Paste the code in the Code worksheet starting in cell   A1.

 

Save and close EXP19_Excel_Ch12_ML2_HW_TravelExpense.xlsx.   Exit Excel. Submit the file as directed.

Tags: No tags