Need help with my Business question – I’m studying for my class.
Your manager could not be happier with the help you’ve provided to all of those departments requesting Excel assistance within the resort. He is now very confident handing over complex tasks to your capable hands. This week he is requesting that you exercise some expert skills. It seems he has some data that needs to be imported and cleaned up so that it is useful to the resort. He has quite a list of tasks he needs done with this data. Once the data are presentable, the analysis needs to be summarized in a short memo and placed on the last sheet in the workbook.
Additionally, your manager has also heard that macros can be added to a worksheet. He wants to make the X Games calculator even more efficient and foolproof for all those using it.
Just like traversing a double black diamond slope, you have the Excel knowledge to maneuver all of these tasks with excellence. This lab is for experts only.
After completing the steps below, turn in one Excel 2016 workbook. Rename the workbook with your lastname_first initial_Week7_Lab. xlsx. Example: If your name were Jane Doe, your workbook would be Doe_J_Week7_Lab.xlsx.
Week 7 Grading Rubric
|LAB 7 – Expert Tools|
|Step||Task||Points Possible||Points Received||Comments|
|1||Import and Organize Data|
|1a – b||Import Data||5|
|1c -i||Professional Clean up & Formatting||5|
|2||Create Macro for X Games Calculator|
|2a – l||Create & Record Macro||6|
|3a – f||Draw Macro button||5|
|3g – i||Associate Macro with button||5|
|4||Save Macro enabled file & Protect Calculator|
|4a, b||Save as .xlsm file type||3|
|4c||unlock user input cells||4|
|4d||Associate Macro with button||4|
|5||Create a Documentation Sheet – Apply Watermark|
|5a-c||Insert and create documentation sheet||4|
|6||Summarize and Prepare Memo|
|6a – d||Summarize and write memo on last worksheet||10|
|Comment: What you learned from completing this Lab||5|
Microsoft Office: Excel 2016
You will be using Microsoft Excel 2016 for this lab.
Be sure you have read the required chapter materials and reviewed the hands-on exercise videos located on the Lesson page before you begin the lab.
Please do not rely solely on the hands-on exercise videos to complete this week’s lab. The videos provide detailed examples walking you through the hands-on exercises. Applying the hands-on exercise examples will provide both practice and instruction of what to complete.
Begin: Open and Save
Download the spreadsheet
Download the spreadsheet Week 7 Lab – Import.txt. (Links to an external site.) You will be prompted to save the file. Click yes.
Note: If you are using the Remote Lab environment, you will need to follow the instructions for uploading the file. These instructions can be found on the Lab page when you click on the Lab icon on Course Resources.
To save the spreadsheet with a new file name,
- open the workbook in Excel 2016; and
- in Excel, click File and then Save As and rename it as lastname_first initial_Week7_Lab.xlsx (Jane Doe would save the file as Doe_J_Week7_Lab.xlsx).
Step 1: Import and Clean Up Text File
- Download starting student Excel file and the text file. Open the starting Excel file and navigate to Sheet1.
- Import the text file by using the Get External Data function on the Data Ribbon. When the Text Import Wizard displays, select My Data has headers and use a comma delimiter to organize the data.
- Insert a new column in between A and B and use the Text to Columns command to separate first and last name. Be sure to revise or add appropriate column names.
- Insert a column to the right of the HOME ADDRESS column and use a function to capitalize just the first letter in the address names. Then hide the original Address column.
- Insert two new columns in between City State Zip and the Unit column, and then use Text to Columns to separate these fields. Adjust column widths appropriately.
- On the right of the Agent column, add a column and use the Substitute function to replace “JG” with “Jesse Gonzales,” and then hide the original Agent column and display the full name.
- Add statistics to add up all sales, and then apply a 7% commission to calculate the Gonzales commission.
- Change the sheet name to Gonzales.
- Under Page Layout, select Themes and choose a business-like theme and possibly a color combination to apply professional formatting and column widths to all of this data using the image below as a guide.
Step 2: Create the Macro in the X Games Ticket Calculator
In this section, we will actually build a macro. A macro is simply a recording of every keystroke you perform while the Macro Recorder is turned on. You are quite simply automating keystrokes and building efficiency into your Excel file.
- Select the X Game Calc sheet.
- In order to have the Macro Tools available to you, you must have the Developer Tools. If you do not see the Developer Tab, click the File and select Options.
- Locate the Developer checkbox option in the Custom Ribbon tab in the Options menu, make sure it is checked, and then click OK.
- You will need to set the Macro Security level in order to develop Macro code. From the Developer Tab, click on Macro Security in the Code group. Check the Enable all macros and then click OK.
- Remember, a macro records every keystroke you perform while the Macro Recorder is turned on. For this Macro, we will clear the values from the ticket type and ticket quantity cells in our X Game Calculator sheet. We will turn on the Macro Recorder, delete the data in Cells E4 and E6, and then turn the Macro Recorder off.
- Click the Record Macro button from the Developer Tab, Code group. The Macro Recorder dialog window will open.
- Macro Name: Provide a user-friendly name for this recording such as CalcWipe. Note: Do not use spaces in the name.
- Shortcut key: Designate a shortcut key the user can press to start the macro. Try using the letter w as your shortcut key. Note: Avoid using a shortcut commonly used in Windows applications, such as CTRL-C or CTRL-P. The macro shortcut will overwrite the Windows shortcut and your users will not understand why the key combination is not copying or pasting.
- Store: Store the macro in this Workbook. Note: It can be stored in the Personal Macro Workbook so it can be used by other applications. Macros for common actions such as printing a workbook can be stored in the personal workbook, but they will only be available on the computer on which they are stored.
- Description: Provide an explanation of the functionality of the macro. Use something such as Clear input cells for X Game Calculator. See image below.
- When you click OK, the Macro Recording begins. Select Cell E4, press the Delete key, and then select Cell E6 and press the Delete key.
- Then turn the Macro Recorder off by clicking the Stop Recording button from the Macro group.
Step 3: View the Macro and Assign a Macro Button in the X Games Calculator Sheet
Behind the scenes, Excel has written a little Visual Basic for Applications (VBA) program, which you may access by clicking the Macros command.
- Select the Macro you just created, and then click the Edit button.
- VBA will open with your code.
‘ CalcWipe Macro
‘ Clear input cells for X Game Calculator.
‘ Keyboard Shortcut: Ctrl+w
- In later courses, you may learn more about programming; however, you can follow the code and see how it instructs Excel to select a range and clear its contents. Click the X in the top-right corner of this MS VBA screen to close macro editing and return to the Excel file.
- Begin to add a macro button to make it easy for users to run this code. Add a Button Shape to your application using the Insert Tab, Shapes.
- Draw the shape onto the application, using your mouse or drawing tool.
- Add a text description to the button: “Clear calculator values!”
- Associate this button with the macro. Right-click on the shape and select Assign Macro from the menu.
- Select CalcWipe and click OK to assign the macro to the button.
- To prepare to test the macro, provide input into cells E4 and E6 by selecting a ticket type in cell E4 and enter a quantity in cell E6 for starting values. Then test your macro by simply clicking the button. Did it clear the contents of your input cells? If yes, congratulations on creating your first macro. If no, please return to Step 2, Part E to build the macro again.
Step 4: Save the Macro-Enabled File and Turn on Protection in the X Games Calculator Sheet
- You will need to save this file as a macro-enabled workbook. Click the File tab and select Save As.
- Select Excel Macro-Enabled Workbook, which is also the .xlsm file type.
- By default, all cells in a worksheet are locked. This means that when the worksheet is protected, the users will not be able to enter or change data in those cells. We will protect the worksheet, but first we must unlock the user input cells. Select cells E4 and E6. Right-click and select Format Cells from the menu. In the Protection tab, uncheck the box labeled Locked.
- Protect the worksheet. From the Home Menu Cells group, select Format, Protection, Protect sheet. DO NOT add a password.
- Remember to save the file as an .xlsm (Macro-enabled) file.
Step 5: Create a Documentation Sheet and Apply a Footer With Watermark Ski Image
Clean up the formatting of your Excel workbook, taking into account professional appearance.
The Minimum Requirement (per the Grading Rubric)
- Insert a new sheet into the workbook, name it Documentation, and move it to be the first sheet.
- As always, properly document all contents of the workbook on this sheet including names and brief descriptions of each sheet.
- Apply a business such as formatting to all of these cells.
- Create a watermark footer containing an experts-only ski image by first searching the Internet for an appropriate free image and save it. Use something such as the following.
- Select Page Layout and then open the Page Setup window.
- Select Custom Footer and then use the icon on the right side to insert the image saved above into the Center section of the Footer.
- Once the &[Picture] is displayed in the Center section, the Format Picture icon on the far right will be available. Click it.
- In the Format Picture pop-up window, select the Picture tab.
- Under the Image control section, select the drop-down option by Color and select Washout, and then click OK to accept it.
- Click Print Preview on the Page Setup window to view the results!
Summit Ridge Mountain Resort
Text Import and X Game Calculator Macro
Author: Student Name
Purpose: Utilize some of the “expert” features in Excel such as text importing, cell protection and macro generation.
Gonzales: Import results of the outstanding condo sales results for Jesse Gonzales
X Game Calc: The X Game Calculator sheet with a macro to automate the clearing on input cells
- IMPORTANT: Remember to save this file as a Macro-enabled workbook.
Step 6: Summarize and Write Memo
Return to the worksheet named Gonzales. The analysis on this worksheet needs to be summarized in a short memo. Here are some details and ideas about the memo to be written.
- The memo should be written to Jesse Gonzales. Your name should also be in the From portion of the memo.
- Include a summary of the analysis completed.
- Possible thoughts to include: target sales for new fiscal period, sales for new developments, sharing expertise with others in sales, and a thank you for good work.
- The memo needs to be written professionally and placed on the last sheet in the workbook. Name the last worksheet Memo.
Finish and Submit
Save your Excel file as a Macro-enabled workbook!! Your Excel file should contain four worksheets.
- X Games Calc
Submit one Macro-enabled Excel file. When submitting the file, provide a comment in the comments area explaining what you learned from completing this lab activity. File naming convention: If your name is Jane Doe, then your file should be named very similar to Doe_J_Week7Lab.xlsm.
Last lab is attached for reference .