WD97: How to Add Rows to Invoice and Purchase Order Templates
ID: Q198549
|
The information in this article applies to:
-
Microsoft Word 97 for Windows
SUMMARY
This article describes how to add rows to the Invoice.dot and Purchord.dot
templates.
NOTE: Word 97 Setup does not install the Invoice and Purchase Order templates. If you installed Word 97 from a compact disc, these and other templates are located in the ValuPack\Template\Word folder. To use them, copy them to your template folder (usually, C:\Program
Files\Microsoft Office\Templates).
MORE INFORMATION
To add rows to these templates, follow these steps:
- On the File menu, click Open.
- Open the template (Invoice.dot or Purchord.dot).
- On the Tools menu, click Unprotect Document.
- Position the insertion point in the last row of the table (the row
just before the Subtotal row).
- On the Table menu, click Select Row.
- On the Format menu, click Borders And Shading.
- On the Borders tab, use the Borders sample diagram to cancel the bottom border selection.
- Click OK.
- With this row still selected, click Copy on the Edit menu.
- Select the Subtotal row. On the Edit menu, click Paste Rows.
- Double-click the Form field in the first cell (in the Quantity column).
The Text Form Field Options dialog box appears.
- In the Bookmark box, under Field Settings, type Quantity_8. If you are adding more than one row, type the next consecutive number.
In the Purchase Order template, there is also a Unit column. Double-click this form field. Name the bookmark Unit_8.
- Double-click the form field in the next cell. In the Bookmark Name box, type Description_8.
- Double-click the form field in the next cell. In the Bookmark Name box, type Price_8.
- For the Invoice template, follow these steps:
- Double-click the last form field.
- Type Amount_8 for Bookmark Name.
- The Default Number box shows:
=PRODUCT(A8,C8)
Change this to:
=PRODUCT(A9,C9)
These cell numbers represent the quantity and price for the
current row.
For the Purchase Order template, follow these steps:
- Double-click the last form field.
- Type Amount_8 for Bookmark Name.
- The Default Number box shows:
=PRODUCT(A8,D8)
Change this to:
=PRODUCT(A9,D9)
These cell numbers represent the quantity and price for the
current row.
If you need to add more rows, repeat steps 9 through 15,
incrementing the bookmark number for all form fields for each
consecutive row.
- If you do not want to add more rows, select the last row that you
created, and click Borders And Shading on the Format menu.
- In the Borders folder, use the Borders diagram to select the bottom border.
- Use the appropriate procedure for the template you are using.
For the Invoice template:
- Double-click the Total Due form field.
- Modify the calculation by adding the number of rows that have
been added to the existing values. If you added two rows, then
add two to the numbers, for example:
=SUM(D11,D12,D13)
For the Purchase Order template:
- Double-click the Total Due form field.
- Modify the calculation by adding the number of rows that have
been added to the existing values. If you added two rows, then
add two to the numbers, for example:
=SUM(E11,E12,E13,E14)
- On the Tools menu, click Protect Document. In the Protect Document For area, click Forms. Click OK.
- Click the Save button. Close the file.
The template will contain additional rows.
Additional query words:
bad parameter wordbasic error err msg templates wizards winword kbhowto 8.0 8.00
Keywords : kbdta kbtemplate word97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto
|