Chapter 13. SHARING YOUR WORKBOOK WITH OTHERS

Validate with a Validation List

In Excel, you can restrict the values a user can enter into a cell. By restricting values, you help ensure that all worksheet entries are valid and that calculations based on them are valid as well. During data entry, a validation list forces anyone using your worksheet to select a value from a drop-down list rather than typing and potentially entering the wrong information. Validation lists save time and reduce errors.

There are two methods that you can use to create a data validation list. First, if your list is short and does not change, you can type your list into the Source field of the Data Validation dialog box. For example, if your field collects gender, you can type "Male, Female" into the Source field. You must separate values with a comma. Second, if your list is long or if it changes, you can type the values into adjacent cells in a column or row. You may want to place the list in an out-of-the-way place on your worksheet or on a separate worksheet. With this method, if your list changes, just type the new values into the cells you have designated as the validation list. You can name the range. See Chapter 4 to learn how to name ranges. After you create your list of values, use the Source field in the Data Validation dialog box to assign the values to your validation list. You can click and drag to select the valid entries, or you can type = followed by the range, or type = followed by the range name.

After you have created a validation list, you can copy and paste it into other cells by using Paste Special's Validation option.

Validate with Data Entry Rules

You can use data entry rules to ensure data is entered in the correct format, and you can restrict the data entered to whole numbers, decimals, dates, times, or a specific text length. You can also specify whether the values need to be between, not between, equal to, not equal to, greater than, less than, greater than or equal to, or less than or equal to the values you specify.

In addition, you can create an input message that appears when the user enters the cell and an error alert that displays if the user makes an incorrect entry. Error alerts can stop users, provide a warning, or just provide information. For example, when a user makes an incorrect entry, the Stop Error Alert style displays the error message you entered and the user cannot make an entry that does not meet your criteria. The Warning Alert style and the Information Alert style display a message but the user can still make an entry that does not meet your criteria. Input messages and error alerts consist of a title and a message.

After you create your data entry rule, you can copy and paste it into the appropriate cells by using the Paste Special Validation option. Refer to "Paste a Validation List" in the section "Validate with a Validation List" to learn how to copy and paste your data entry rule. If you click and drag to select the cells to which you want to apply your data validation rules and then open the Data Validation dialog box and create your data validation, Excel applies your validation to all the cells you selected.

Add Comments to Your Worksheet

A comment is a bit of descriptive text that enables you to document your work. If someone else maintains your worksheet, or others use it in a workgroup, your comments can provide useful information. You can enter comments in any cell you want to document or otherwise annotate.

Comments in Excel do not appear until you choose to view them. Excel associates comments with individual cells and indicates their presence with a tiny red triangle in the cell's upper-right corner. View an individual comment by clicking in the cell or positioning your cursor over it. View all comments in a worksheet by clicking the Review tab and then clicking Show All Comments.

When you track your changes, Excel automatically generates a comment every time you copy or change a cell. The comment records what changed in the cell, who made the change, and the time and date of the change. To learn more about tracking changes, see the next section, "Track Changes."

When a comment gets in the way of another comment or blocks data, you can move it. Just position your cursor over the comment box border until the arrow turns into a four-sided arrow, click and drag the comment to a better location, and then release the mouse button. Your comment will remain in this position until you display all comments again.

When you sort, cut and paste, or copy and paste, comments move with the cell. Once you have created a comment, you can edit or delete it. You can also cycle through the comments in your worksheet by clicking Previous and Next on the Review tab.

Track Changes

By using change tracking, you can monitor the changes made to a shared workbook. A shared workbook is a workbook that can be edited by multiple people at the same time. When you turn on change tracking, your workbook automatically becomes a shared workbook. Change tracking keeps a log of changes. You can except or reject each change. This feature is especially useful when you have a workbook that needs to be reviewed by others. You can review each person's comments and changes and then finalize the workbook.

You can use the Highlight Changes dialog box to turn on change tracking. The Highlight changes dialog box has When, Who, and Where options. Use When to define the time after which edits are tracked — for example, after a specific date or since you last saved. Use Who to identify the group whose edits you want to track — for example, everyone in the workgroup, everyone but you, or a named individual. Use Where to specify the rows and columns you want to monitor.

When someone makes a change, Excel indicates the change by placing a small purple triangle in the upper-left corner of the changed cell. Excel records cell changes in automatically generated cell comments. When Highlight Changes is activated, you can view these comments by moving your mouse pointer over the cells.

You can use the Accept or Reject Changes dialog box to review every change made to a worksheet and either accept or reject the change.

Before you share a workbook, enter and format your data because there are many features you cannot change in a shared workbook.

Protect Your Worksheet

If you share your worksheets with others, you can lock them so others can view and print them but cannot make changes to the areas you do not allow them to change. Even if you do not share your worksheets, you may want to lock certain areas so you do not inadvertently make changes. Locking your worksheet enables you to allow users to make certain types of changes while disallowing others. You can choose which changes users can make. For example, you can allow users to make changes to formats; insert or delete columns, rows, or hyperlinks; sort; filter; use PivotTables; and/or edit objects or scenarios.

By default, when you lock a worksheet, Excel locks every cell in the worksheet and the formulas are visible to anyone who uses the worksheet. Prior to locking a worksheet, you can choose to leave specific cells unlocked and hide the formulas in specific cells. For example, you can lock every area except the current month. That way, users can make updates to the current month, but they cannot change previous months.

To protect your worksheet, you can enter a password in the Protect Sheet dialog box. If you add a password, only users who know the password can unlock the sheet. You should make your password strong by including upper- and lowercase letters, numbers, and symbols. Adding a password is optional. Keep a list of your worksheet passwords in a safe place, because you cannot recover a worksheet password. If you lose or forget your password, you can no longer access the locked areas of your worksheet.

Save Your Workbook as a Template

Templates are special-purpose workbooks you can use to create new worksheets. They can contain formats, styles, and specific content such as images, and column heads you want to reuse in other worksheets. Templates save you the work of re-creating workbooks for recurring purposes such as filling out invoices and preparing monthly reports.

You create a template by designing a generic workbook that contains the worksheet layouts you want. You can create custom styles, number formats, macros, and formulas and include them in your template. For example, if you regularly use Excel to create and issue invoices, you can create an automatically calculating invoice that includes your logo and other basic information.

Your custom template includes all the changes you have made to your workbook, including formats, formulas, and such changes as opening multiple windows or deleting tabs. Saving formulas with your template causes your worksheet to calculate automatically. Saving formats saves you from having to re-create them.

When you work with a template, you edit a copy — not the original — so you retain the original template to use when structuring other workbooks. Excel 2010 workbooks ordinarily have an .xlsx file extension. Saving an Excel workbook as a template creates a file with an .xltx extension.

Excel comes with ready-made templates that serve basic business purposes such as invoicing. You can use the Available Templates dialog box to access these templates. To access the Available Templates dialog box, click the File tab and then click New. You can also use the Available Templates dialog box to access Office.com, which has several categories of templates that you can download.

Choose a Format When Saving a Workbook

After you create a worksheet, you may want to share it with others. The file format you choose when you save your file is important. The default format for Office 2010 is Excel Workbook (*.xlsx). This file format was introduced in Office 2007. The smaller files it creates are easily accessible in other software programs because they are in Extensible Markup Language (XML) format, which is a data-exchange standard.

Versions prior to Excel 2007 did not use XML as the default format. These files have an.xls extension. If you want to share your documents with people who use Excel 97–2003, you can save your file as an Excel 97–2003 workbook (*.xls). Features that are not supported in earlier versions of Excel are lost when you save your file as an Excel 97–2003 workbook.

If you have a computer with Excel 97–2003 installed, you can go to the Office Update Web site and download the Microsoft Office Compatibility Pack for Excel. After you install the Compatibility Pack, you can open Excel Workbook *.xlsx files in Excel 97–2003. Excel Workbook *.xlsx formatting and other features may not display in the earlier version, but they are still available when you open the file again in Excel 2010.

If you want to see the XML layout for an Excel 2010 file, change the file extension on the file to .zip and then double-click the file. The file opens and several folders and files appear. Double-click the files to open and view them.

You can also save your worksheet in other file formats, including Web Page formats (*.htm; *.html) and several text-based formats, such as Text (MS-DOS) (*.txt), Text (Macintosh) (*.txt), and CSV (comma-delimited). These formats save the worksheet as text, which can be read by other applications, or in Hypertext Markup Language (HTML), which can be read by browsers.

Print Your Workbook

The most common way to share a workbook with others is to print the worksheets and distribute paper copies. Excel has several features to help you format and print your worksheets. You can select the worksheet's margin size, orientation, paper size, print area, page breaks, and much more. If you want to see a live view of how print settings affect your report, use Page Layout view.

You can print part of your worksheet or your entire worksheet. If you want to print part of your worksheet, you can use the Set Print Area option on the Page Layout tab to tell Excel the area you want to print.

On the Page Layout tab, use the Size option to tell Excel the size of your paper. When you click Size, the most commonly used paper sizes appear on the menu. If you do not see the paper size you are using, click More Paper Sizes and select a size from the Page tab of the Page Setup dialog box. While in the Page Setup dialog box, you can select the orientation of your worksheet: Landscape or Portrait. Selecting Portrait makes the shortest edges of your paper the top and bottom and the longest edges of your paper the sides. Selecting Landscape makes the longest edges of your paper the top and bottom and the shortest edges of your paper the sides.

If at any time during the process of setting up your document for printing, you want to see a preview of how your printed document will look, you can click the Print Preview button, which is located on every tab in the Page Setup dialog box.

Margins define the amount of white space that surrounds your document. You can apply Excel's predefined margins by selecting them from the Margins menu, or you can open the Page Setup dialog box to define your margins. By default, Excel places your data in the upper-right corner of the page. The Margins tab in the Page Setup dialog box has options you can use to center your worksheet horizontally and/or vertically.

A header is text that prints across the top of every page of your worksheet. A footer is text that prints across the bottom of every page of your worksheet. You can set the amount of margin space Excel reserves for headers and footers on the Margins tab.

When you click in the header or footer area while in Page Layout view, the Header and Footer tools become available. You can use the Design tab to tell Excel what data you want to include in your header and/or footer. The Header and Footer options provide you with a list of predefined headers and footers. In the Header & Footer Elements group, you can select the options you want to place in your header or footer.

If your data does not fit on the number of pages you want, you can scale your data. You can use a percentage to make your data larger or smaller. For example, setting the scale to 110 makes your data 10 percent larger than its normal size. Setting the scale to 90 makes your data 90 percent of its normal size. You can also scale your data by selecting the number of pages on which you want your data to fit. If you choose Automatic, Excel determines the amount of data to put on each page.

Print Multiple Areas of Your Worksheet

You can print noncontiguous areas of your worksheet, thereby limiting your printing to the information that is of relevance. This feature involves little more than selecting the cells you want to print.

There are many reasons why you may want to print noncontiguous areas of your worksheet. For example, if you have sales data for several products, each in a column, you can select and print only the columns in which you are interested. You select noncontiguous areas of the worksheet by pressing and holding Ctrl as you click and drag. After you select areas, you set them as the print area. Print areas stay in effect until you clear them. You can add to the print area by selecting a range, clicking Page Layout, and then clicking Print Area; or by clicking Page Layout and then clicking Add to Print Area. To clear the print area, click Page Layout, click Print Area, and then click Clear Print Area.

Excel places the ranges you select in the Print Area field in the Page Setup dialog box. A comma follows each range. Use the same format if you want to enter your print ranges manually into the Print Area field.

When printing a worksheet, you may have column headings or row labels you want to print with each selection. You can specify the rows you want to repeat at the top or the columns you want to repeat down the left side of every page you print by entering the ranges in the Rows to Repeat at Top and Columns to Repeat at Left fields in the Page Setup dialog box.

When you print a worksheet with multiple selected areas, each area prints on its own page.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.149.119