your image

Excel 2007 Custom Templates - MS-Excel Tutorial

sourcedaddy
Related Topic
:- MS Excel

Excel 2007 Custom Templates

Why create custom templates? The main reason is to make your job easier. For example, you may always like to use a particular header or footer on your printouts. Consequently, the first time that you print a worksheet, you need to spend time entering the header and footer information. Although it isn't a lot of work, wouldn't it be easier if Excel simply remembered your favorite page settings and used them automatically?

The solution is to modify the template that Excel uses to create new workbooks. In this case, you modify the template file by inserting your header into the template. Save the template file using a special name, and then every new workbook that you create has your customized page settings.

Excel supports three types of templates, which I discuss in the following sections:

The default workbook template:
Used as the basis for new workbooks.

The default worksheet template:
Used as the basis for new worksheets inserted into a workbook.

Custom workbook templates:
Usually, these ready-to-run workbooks include formulas, but they can be as simple or as complex as you like. Typically, these templates are set up so that a user can simply plug in values and get immediate results. The Microsoft Office Online templates are examples of this type of template.

A custom template is essentially a normal workbook, and it can use any Excel feature, such as charts, formulas, and macros. Usually, a template is set up so that the user can enter values and get immediate results. In other words, most templates include everything but the data, which is entered by the user.

If your template contains macros, it must be saved as an Excel Macro-Enabled Template, with an XLTM extension.

To create a custom template, you simply need to build a new workbook, add any headings, formatting, and formulas you desire, and then save it as a template. You can start this process from scratch by opening a new, blank workbook, or you can refine an existing built-in template. Either way, you should follow the same process of perfecting your workbook until it's ready for template status. Here are some tips:

 

 

 

Clear out the junk

Your template should be a blank form politely waiting for input. Clear away all the data on your template, unless it's generic content. For example, you can leave your company name or the worksheet title, but it probably doesn't make sense to have sample numbers.

 

 

Assume formulas won't change

The ideal template is one anyone can use, even Excel novices who are too timid to edit a formula. If you have a formula that contains some data that might change (for example, the sales commission, interest rate, late fee, and so on), don't type it directly into your formulas. Instead, put it in a separate cell, and use a cell reference within the formula. That way, the person using the template can easily modify the calculation just by editing the cell.

Don't be afraid to use lists and outlining

These features are too complicated for many mere mortals but they make spreadsheets easier to use and more powerful. By putting these advanced frills into the template, you ensure that people can use them in their spreadsheets without having to learn how to apply them on their own.

Turn off worksheet gridlines

Many templates don't use Excel's gridlines. That way, it's easier to see custom borders and shading, which you can use to draw attention to the important cells. To turn off gridlines, select View> Show/Hide> Gridlines.

 

Add the finishing touches

Once you have the basicstitles, captions, formulas, and so onit's time to create a distinct look. You can add borders, change fonts, and inject color. (Just remember not to go overboard with cell shading, or the output may be impossible to read on a black-and-white printer.) You may also want to tweak the paper size and orientation to ensure a good printout.

Delete extra worksheets and assign good names to the remaining worksheets

Every workbook starts with three worksheets, named Sheet1, Sheet2, and Sheet3. The typical template has only one worksheet, and it's named appropriately (such as Expense Form). For information about deleting and renaming worksheets.

Consider adding custom macros to make a really slick spreadsheet

For a real treat, you can build a toolbar with custom macros (and even attach them to custom buttons) that perform related tasks. For more information about how to build macros (and even attach them to custom buttons) that perform related tasks.

Saving your custom templates

To save a workbook as a template, choose Office button> Save As and select Template (*.xltx) from the dropdown list labeled Save As Type. If the workbook contains any VBA macros, select Excel Macro-Enable Template (*.xltm). Save the template in your Templates folder-which Excel automatically suggests-or a folder within that Templates folder.

If you later discover that you want to modify the template, choose Office button> Open to open and edit the template.

Comments