Microsoft KB Archive/237305

= WD98: How to Add Rows to Invoice and Purchase Order Templates =

Article ID: 237305

Article Last Modified on 7/16/2007

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q237305





SUMMARY
This article describes how to add rows to the Invoice and Purchase Order templates.

NOTE: The Invoice and Purchase Order templates are not installed with the drag-and-drop installation or the custom installation of Office 98. They can be installed from the Value Pack installer, or you can drag them from the Word folder, which is located in the Templates folder in the Value Pack on the Microsoft Office 98 CD. Drag them to the Templates folder in the Microsoft Office 98 folder on your hard disk drive.



MORE INFORMATION
To add rows to these templates, follow these steps:

 On the File menu, click Open. Open the template (Invoice or Purchord). 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.</li> On the Borders tab, use the Borders sample diagram to cancel the bottom border selection.</li> Click OK.</li> With this row still selected, click Copy on the Edit menu.</li> Select the Subtotal row. On the Edit menu, click Paste Rows.</li> Double-click the Form field in the first cell (in the Quantity column). The Text Form Field Options dialog box appears.</li> 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 .</li> Double-click the form field in the next cell. In the Bookmark Name box, type Description_8 .</li> Double-click the form field in the next cell. In the Bookmark Name box, type Price_8 .</li> For the Invoice template, follow these steps:

<ol style="list-style-type: lower-alpha;"> Double-click the last form field.</li> Type Amount_8 for Bookmark Name.</li> The Default Number box shows the following:

=PRODUCT(A8,C8)

Change this to:

=PRODUCT(A9,C9)

These cell numbers represent the quantity and price for the current row.

</li></ol>

For the Purchase Order template, follow these steps:

<ol style="list-style-type: lower-alpha;"> Double-click the last form field.</li> Type Amount_8 for Bookmark Name.</li> The Default Number box shows the following:

=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.</li></ol> </li> 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.</li> <li>Click the Borders tab, and use the Borders diagram to select the bottom border.</li> <li>Use the appropriate procedure for the template that you are using.

For the Invoice template:

<ol style="list-style-type: lower-alpha;"> <li>Double-click the Total Due form field.</li> <li>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)

</li></ol>

For the Purchase Order template:

<ol style="list-style-type: lower-alpha;"> <li>Double-click the Total Due form field.</li> <li>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)

</li></ol> </li> <li>On the Tools menu, click Protect Document. In the Protect Document For area, click Forms. Click OK.</li> <li>Click Save. Close the file.</li></ol>

The template now contains additional rows.

Additional query words: bad parameter wordbasic error err msg templates wizards winword kbhowto macintosh

Keywords: kbtemplate KB237305

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.