Microsoft KB Archive/57505

Word 5.00: Erratic Screen, Slow Calculation on a Column

PSS ID Number: Q57505 Article last modified on 11-02-1994

5.00 6.00

MS-DOS

= SUMMARY =

When doing mathematical calculations on columns in a document that displays wider than the screen, the display jumps from side to side and the calculation process is quite slow.

If the document cannot be narrowed so that it is displayed entirely on the screen, change the Options “show layout:” field to No and change the “display:” field to text mode. This method will help to speed up the calculation time.

= MORE INFORMATION =

The following Word 5.00 macro can be used to correct this problem if it is entered exactly as shown. The lines can be terminated either by pressing the ENTER or SHIFT+ENTER keys. The chevrons (the < > characters) are created by pressing CTRL+[ or CTRL+]. Once typed into an empty edit window, highlight the macro text, and copy it to the glossary you want to use (for example, NORMAL.GLY). Give the macro the name “NewF2^” (without the quotation marks or the greater than and less than symbols).

<> <> <>  wsh10 y   wc <>

After the macro is saved, the entire glossary must be saved to disk permanently. Select the Transfer Glossary Save command to save the glossary. From this point on, whenever the F2 key is pressed to perform a mathematical calculation, the macro will be executed.

The first macro commands write a message and disable screen updates and Word prompting. The fourth line copies the selected area to the scrap and reinserts it as well as creating a new (cleared) window. It then reinserts the selected text in the new window, highlights it, and calculates the value in the column. The last two lines close the window and exit the macro.

This macro can speed large calculations by almost 1000 percent. If it is saved in NORMAL.GLY, it will automatically load when starting Word and perform its functions without any special attention. Word should now operate properly when pressing the F2 key.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.