The information in this article applies to:
SUMMARY
This article contains information about the TableMath macro, included with
Word 6.0 for Windows TABLES.DOT template (located in the <WINWORD>\MACROS
subdirectory, where <WINWORD> is the location of your Word for Windows
program directory). In Word 7.x for Windows, the TableMath macro is
included in the TABLE7.DOT, located in the \msoffice\winword\macro folder,
where msoffice and winword are the loction of your msoffice and Word for
windows folders.
MORE INFORMATION
The Word 6.0 and 7.x for Windows the TableMath macro works equally well
outside of a table. If you[ASCII 146]re working in a table, you can highlight cells
prior to running the macro if a range is desired in the formula.
Q100491 WD0523: Frequently Requested WordBasic Macro Descriptions To start the TableMath macro
To install the TableMath macroUse one of the following methods to install TableMath.Method 1
Method 2
LIST (drop-down list box)Cells, Bookmarks, and Numbers are available if the insertion point is in a table. If the insertion point is not in a table, Bookmarks and Numbers are not available. (Bookmarks are available only if they exist within the document.)The "List" list may contain Cells, Bookmarks, or Numbers. To add an item to the formula, either double-click the item or select it and click the Include button.
VALUES (list box)As items are included in or excluded from this list, the formula is created and updated. It is visible above the OK button.To remove items from the Values list (and the formula), either double- click the item (but not the last remaining item in the list) or select the item and click the Exclude button. The formula updates automatically. Note: Because table cells have been indented for sorting, they do not line up with bookmarks or individual numbers. This indent is removed in the formula. SHOW VALUES (button)If you select a table cell or bookmark in the List or Values group and choose the Show Values button, a message box appears with the result of that item.This button is disabled if the selection is not a single table cell or bookmark. CALCULATION TYPE (drop-down list)This list displays different formula types. If a desired calculation type is not available, choose the Advanced Formula button and see the Paste Function list for a more comprehensive list.Messages are displayed if you select a calculation type that does not operate with the items in the Values list. For example, if a range is in the Values list, then ABS, Division, Exponent, Int, and Subtraction do not work. When you select a range in the table as the macro is run, the SUM calculation type will automatically be selected, and the range will be added to the formula. TARGET CELL/CLIPBOARD (list box and check box)The Target Cell list remains disabled until you clear the Clipboard check box.In table:
NUMBER FORMAT (drop-down list)This list has formats for the formula results. If a desired format is not listed, select Other Format at the bottom of the list. An input box appears requesting a new format. After a format is entered and accepted, it appears in the Number Format list. (NOTE: The macro does not test if the Other Format is not a valid format. The final result may show an error if it is invalid.)ADVANCED FORMULA (button)When you choose the Advanced Formula button, the macro defaults to Word's internal Formula dialog box. This enables more advanced users to enter their own formulas. The Target Cell and Clipboard options are still available.To return to the TableMath main dialog, choose the Regular Formula button. Any original selections remain unchanged. SHOW/CLOSE HELP (button)Context-sensitive Help: Click an item in the main dialog then click the Show Help button; help is displayed on that specific option.Help is available in the main dialog. The bar at the bottom of the dialog box changes depending upon the item selected. The online Help (after clicking the Show Help button) gives an overview, descriptions of the different main dialog components, and formula types. The option buttons in the help screen allow you to quickly move to a specific topic. To scroll through the help topics in order, click the Page Up or Page Down button. Additional query words: TableMath macro hangs stops WordBasic
Keywords : kbdta winword word6 word7 word95 |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |