PAUSE & PRACTICE: EXCEL 7-2
In this project, you edit your template to add an option button and a combo box control, unlock cells, and set worksheet protection. You then create a workbook from the template.
File Needed: [your initials] PP E7-1Template.xltx
Completed Project File Name: [your initials] PP E7-2Template.xltx and [your initials] PP E7-2Workbook.xlsx
- Open a template for editing.
- Click the File tab and select Open.
- Click Recent and scan the file list for your template in the Custom Office Templates folder or click Folders and scan the folders list for Custom Office Templates.
- Click the folder name to display its contents.
- Select [your initials] PP E7-1Template completed in Pause & Practice 7-1.
- Click File and choose Save As.
- Edit the file name to [your initials] PP E7-2Template.
- Confirm that the file type is Excel Template (*.xltx). If it is not, click the drop-down list and choose Excel Template.
- Click Save.
- Display the Developer tab.
- Right-click the Ribbon and select Show Quick Access Toolbar.
- Click the Customize Quick Access Toolbar arrow and click More Commands to open the Excel Options dialog box.
- Click Customize Ribbon in the left pane.
- Select the Developer box in the Main Tabs group and click OK.
- Insert an option button form control.
- Select the Reservations sheet tab. The formula in cell E5 displays #N/A; this will resolve as you complete the template.
- Click the Insert Controls button [Developer tab, Controls group].
- Select the Option Button (Form Control) button in the Form Controls group.
- Click cell H3 to place the control.
- Format the option button control.
- Click the Properties button [Developer tab, Controls group].
- Verify that the Control tab is selected.
- Select the Unchecked button for Value.
- Select the 3-D shading box.
- Click OK.
- Point to the control, right-click, and select Edit Text from the context menu.
- Delete the default label.
- Type Returning as the new label.
- Click a worksheet cell to deselect the control. If you have marked either button as Checked, right-click the control and open the Format Control dialog box. Choose Unchecked on the Control tab.
- Position and align the controls.
- Point to the Returning control and right-click to display selection handles.
- Drag the control to the right of the New control. Align it horizontally as best as you can.
- Point to bottom right selection handle of the Returning control.
- Size the frame to match the label as best as you can.
- Point to the New button control, press Ctrl, and click to select both controls (Figure 7-36).
- Click the Align button [Shape Format tab, Arrange group].
- Choose Align Middle.
- Click a worksheet cell to deselect the controls.
- Confirm that both controls are unchecked (refer to step 4i).
- Insert a combo box form control.
- Click the Insert Controls button [Developer tab, Controls group].
- Click the Combo Box (Form Control) button.
- Draw a control to cover cells H2:I2 (Figure 7-37).
- Right-click any border of the control and choose Format Control. If the command is not listed, click a cell to deselect the control and right-click the control again.
- Click the Input range box, click the Lists worksheet tab, select cells C1:C24, and make the references absolute.
- Click the Cell link box and select cell B5. The selection made in the combo box will display in this cell.
- Select the 3-D shading box (Figure 7-38).
- Click OK. Click cell I3 to deselect the combo box control.
- Click the combo box arrow and choose Forestview Suite. The label displays in the control and 3 displays in the linked cell (B5) because Forestview Suite is the third name in the input range.
- Edit the control and use INDEX to display the name from the control.
- Right-click the combo box control and choose Format Control.
- Click the Cell link box and delete the reference to cell $B$5.
- Type i2 as the Cell link address. You cannot select the cell because it is under the combo box control.
- Click OK.
- Select cell B5 and press Delete. The rental name from the Cell link result should display here.
- Click the Lookup & Reference button [Formulas tab, Function Library group].
- Choose Index and select the array, row_num, column_num argument group.
- Click the Array box, click the Lists sheet tab, and select cells C1:C24. The Array for the INDEX function must be the same as the Input range for the combo box control.
- Click the Row_num box, type i2, and click OK (Figure 7-39). The rental name displays in cell B5 and in the combo box.
- Select cell E5. The XLOOKUP function displays the rental rate from the Rentals sheet by looking up the value in cell B5.
- Unlock cells and form controls. All cells and form controls are locked by default.
- Select cells B7:C7. The guest’s name is entered in cell B7 but may spill over.
- Press Ctrl and select cells B9:C9, B11:C11, E11, B13, and B15 (Figure 7-40).
- Click the Format button [Home tab, Cells group] and select Lock Cell to unlock the cells. The formulas in cells B5 and E5 remain locked.
- Point to the combo box control and right-click. Cell I2 under the control must also be unlocked.
- Click the Name Box, type i2, and press Enter.
- Click the Format button [Home tab, Cells group], and select Lock Cell.
- Point to the New option button control, right-click to select it, and choose Format Control.
- Select the Protection tab and deselect the Locked box (Figure 7-41).
- Click OK.
- Repeat steps h–j for the Returning option button, the Yes check box, and the No check box.
- Protect a sheet.
- Select cell I1.
- Click the Protect Sheet button [Review tab, Protect group].
- Verify that the Select locked cells and Select unlocked cells boxes are selected.
- Do not assign a password.
- Click OK. The command button now displays Unprotect Sheet.
- Click the Save button in the title bar to resave your template and close it.
- Create a workbook from your template.
- Click the File tab and select New.
- Click Personal to list the templates in the Custom Office Templates folder (Figure 7-42).
- Click [your initials] PP E7-2Template. The new workbook has the same name followed by a number, probably the number 1.
- Click the Save button in the title bar The Save this file dialog box opens.
- Click the Location drop-down list and choose your usual folder for saving files. If it is not listed, click More options to navigate to your folder.
- Edit the file name to [your initials] PP E7-2Workbook and click Save.
- Complete the form as shown in Figure 7-43. Use the TODAY function in cell B13 and a formula in cell B15 to add ten days to today’s date.
- Save and close the workbook.
- Move the template(s) from the default folder. (Templates remain in the default folder until you delete or move them. You can also delete or move [your initials] PP E7-1Template at this time.)
- Click the File tab and choose Open.
- Click Browse to display the Open dialog box. To cut and paste (move) the file, you must use an Explorer-type dialog box.
- Expand the Quick access list in the left pane and select Documents.
- Double-click Custom Office Templates in the pane on the right to display the contents.
- Right-click [your initials] PP E7-2Template and choose Cut. (You can also Copy your template if instructed to do so.)
- Navigate to and open your folder for saving files.
- Right-click an unused area of the Open dialog box and choose Paste.
- Click Cancel to close the dialog box.
- Hide the Developer tab and the Quick Access toolbar
- Click the File tab if necessary and choose Options.
- Click Customize Ribbon in the left pane and deselect the Developer box in the Main Tabs group.
- Click Quick Access Toolbar in the left pane.
- Deselect the Show Quick Access Toolbar box.
- Click OK.
Do you need help with this assignment or any other? We got you! Place your order and leave the rest to our experts.
